tag:blogger.com,1999:blog-4210075784363570204.post1951112387326596118..comments2008-08-13T17:27:42.211-07:00Comments on Open Source Opportunities: Nested-Nested QuotesJames Mortensenhttp://www.blogger.com/profile/14761411429474089032noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4210075784363570204.post-60920753313633316692008-08-13T05:26:00.000-07:002008-08-13T05:26:00.000-07:002008-08-13T05:26:00.000-07:00<td onclick="f_myFunction('someStringContaining\'S...<td onclick="f_myFunction('someStringContaining\'SingleAnd\"DoubleQuote');" >Therefore, for the above example to function properly, you would only escape the inner single quotes, not the double quotes.James - thank for that infoBut if we are not going to escape the double quotes then it is going end the onClick attribute def!Rameshnoreply@blogger.comtag:blogger.com,1999:blog-4210075784363570204.post-28311417466707776662008-08-12T18:41:00.000-07:002008-08-12T18:41:00.000-07:002008-08-12T18:41:00.000-07:00<td onclick="f_myFunction('someStringContaining\'S...<td onclick="f_myFunction('someStringContaining\'SingleAnd\"DoubleQuote');" >The top level quote is a single quote. This means that any single quotes inside the string must be escaped with a '\'. The double quotes will be treated as regular characters.Therefore, for the above example to function properly, you would only escape the inner single quotes, not the double quotes.JamesJames Mortensenhttp://www.blogger.com/profile/14761411429474089032noreply@blogger.comtag:blogger.com,1999:blog-4210075784363570204.post-30810584484320001522008-08-12T04:03:00.000-07:002008-08-12T04:03:00.000-07:002008-08-12T04:03:00.000-07:00Hi,I am facing a nesting quote problem in the belo...Hi,I am facing a nesting quote problem in the below scenario...<td onclick="f_myFunction('someStringContaining\'SingleAnd\"DoubleQuote');" >...Any suggestions here..Thanks!Rameshhttp://www.blogger.com/profile/10465700957451190030noreply@blogger.comtag:blogger.com,1999:blog-4210075784363570204.post-81147157257291168202008-06-04T20:02:00.000-07:002008-06-04T20:02:00.000-07:002008-06-04T20:02:00.000-07:00I was using this method of quotes within quotes to...I was using this method of quotes within quotes to manipulate the DOM, that is until I discovered Taconite.Taconite lets you use special XML tags to wrap an AJAX response, and these XML tags instruct a parser on where to place the response in the HTML DOM. It's LGPL code, so you can take the XML parser and use it without the AJAX portion with some hacking. Although there are tools to help James Mortensenhttp://www.blogger.com/profile/14761411429474089032noreply@blogger.comtag:blogger.com,1999:blog-4210075784363570204.post-82122664855780152292008-06-02T19:31:00.000-07:002008-06-02T19:31:00.000-07:002008-06-02T19:31:00.000-07:00Omg I'm having a quotation nightmare! I'm re-crea...Omg I'm having a quotation nightmare! I'm re-creating a select box using javascript so that I can have onclick/onmouseover events on the options.The creation process of these options and the subsequent usage of the parameters are impossible, man.It's killing me!!! Kudos to you for getting somewhere with itSeanwww.seanhasselback.comnoreply@blogger.com