Sign in to follow this  
mobii

TEXTAREA

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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 " "

Share this post


Link to post
Share on other sites
" "
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 ^^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this