Thanks dave I got a little key to big door Regards, I.HariKrishna | Software Engineer | Franklin Templeton International Services (India) Pvt. Ltd. | Franklin Templeton Centre,1st Floor, No.7,Third Cross Street, Kasturba Nagar, Adyar, Chennai 600020 | Tel: +91 44 24407000 | Extn: 17123 | Fax: +91 44 24453661 | Mobile: +91 9884528587 | www.franklintempleton.com
-----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 3:31 PM To: Struts Users Mailing List Subject: [OT] Re: javascript issue in jsp --- "Krishna, Hari (FTT-CInternet)" wrote: > This is the line of code that causes the issue. Look in to JavaScript strings to understand why these two things are issues. "\" is an escape character. > document.getElementById("text"+i).value = """"; Is that legal JavaScript? (Hint: No.) If you're embedding quotes you must escape them, or use the quote that isn't in your input string (may work, may just cause same problem). d. ________________________________________________________________________ ____________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+ki ds&cs=bz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]