Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

double quotes in input fields 3

Status
Not open for further replies.

russland

Programmer
Jan 9, 2003
315
CH
hey,

I assembled a tiny WYSIWYG editor. that relies on storing data in a hidden field. now, when the page is loaded and the input field is filled with current data containing double quotes - the HTML code becomes corrupted. putting a backslash in front of each dbl quote doesn't help since it's HTML and not JavaScript. I wouldn't want to replace dbl quotes by single quotes. Any clue how to get around this issue?

thanks
 
Google for HTML character codes. For example,   is the code for a space. I'm sure there's a code for dbl quotes aswell :)

----------
I'm willing to trade custom scripts for... [see profile]
 
yes, i tried " which is just great for what i was looking for. WHO EARNS THE START NOW?

Thanks to all of you.
cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top