Welcome to WebmasterWorld Guest from 54.156.85.167

Forum Moderators: open

Message Too Old, No Replies

Changing the way special characters display

     
6:50 pm on Jan 17, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:May 1, 2005
posts:108
votes: 0


Is there some way to use javascript to change the way special characters are displayed in a text area? Here is the problem I'm having:

I have a form on my website for editing certain pages. Whenever a page is opened for editing, certain characters in the text area are displayed by special characters; for instance "<" is displayed as "&lt;".

Just to be clear, "<" is not *replaced* by "&lt;", but it is simply displayed that way. When the form is submitted, the file will contain "<".

I'm not sure where this problem is coming from, as I have other very similar forms on my website which do not behave this way. Anyone have any ideas?

8:37 pm on Jan 17, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:May 1, 2005
posts:108
votes: 0


Nevermind, I have solved the problem.
9:18 pm on Jan 17, 2009 (gmt 0)

Senior Member

joined:Nov 12, 2005
posts:5967
votes: 0


So what was the issue? ;)