TEXTAREA

Started by
2 comments, last by mobii 18 years, 11 months ago
How u can get a   in a textarea? when I run It convert it to a space It convert it here to to a space ^^

&nbsp        // I whant this text to show in the TEXTAREA


When u get in and Edit this Post nbsp dissapere to a SPACE Looks like its no sollution to this?
Advertisement
Use escaping.

 
You mean you simply want to write  ?

Use HTML escape sequences.. since you're trying to explicitly output an escape sequence, you must escape the escape. In this case, you simply replace the "&" with the escape sequence for it, "&"

So to output " " you would write " "

Of course, to output that, I had to write " "
" "
was a goed one but when u preview it the TEXTAREA eat it up in 2 round instead of 1

<TEXTAREA something=off> so it no kill &nbsp;</TEXTAREA>&nbsp; is in the database and when it get into TEXTAREA its still &nbsp; in code but in TEXTAREA its a SPACE


thanks for idea ^^

This topic is closed to new replies.

Advertisement