Jump to content
  • Advertisement
Sign in to follow this  
mobii

TEXTAREA

This topic is 4800 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!