![]() |
javascript question, textbox space and carriage return added
javascript question, space and carriage return added to the output text.
I am working on a chrome extension that encodes text. But a space and carriage return are being added to the output. Anybody know why? example http://nicecamgirls.com/popup.htm |
my code
Code:
<body> |
The extra shit is coming from your textarea. The way you coded the textarea puts spaces and the line feed in there. Just put the textarea close right up against the open and the extra shit should go away.
<textarea id="inputtext" rows="4" cols="50" oninput="encodeFunction()" autofocus></textarea> . |
i%20like%20poo%20%0A
aSBsaWtlIHBvbyAK i like poo %69%20%6c%69%6b%65%20%70%6f%6f%20%a |
Quote:
BTW, if any one cares. "extra shit" is the technical term for that extra shit :thumbsup . |
Quote:
|
Quote:
I spent a couple of hours the other day tracking down an issue. Turned out to be an errant semi colon. File it under things that make me go: "Duh". ;p . |
All times are GMT -7. The time now is 12:32 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123