Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > question about javascript handling Quotes

question about javascript handling Quotes
Thread Tools
Fresh-Faced Recruit
Join Date: Feb 2006
Status: Offline
Reply With Quote
Feb 9, 2006, 10:31 AM
 
Good morning! I've visited this site for a while, and finally decided to join and ask a question. I look forward to hearing what you all suggest. (I couldn't come up with a creative screenname, so I used the date and time :-)

I am trying to embed some content text inside an html's hidden field. THe text content text has html formatting, so if it's placed in a Textarea, it will appear just fine. However, if I try to put it into a hidden field, the quotes of the content cause the html to escape the hidden field's value item. How could I tell html to ignore the quotes that are contained within the content text? is there a particular character that I could use javascript to replace, andthen I'll re-replace it later when I'm processing it? However, what character can I place in the page's html to escape the other page's html content?...do you see the circular effect here?

THanks in advance!
     
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Feb 9, 2006, 11:02 AM
 
Not sure what you mean, but try throwing a backslash \ before the quotes as a starter.

....and welcome aboard.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2