Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

quote inside quote inside quote  RSS feed

 
pooja jain
greenhorn
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do you provide third level of quotting?

i mean to say:

document.innerHTML = "<input type='text' onklick='alert("how to use quote here")' />";

(first quote is ", second inside first is ' - thats perfectly ok, now what about third inside second)

thanks in advance.
[ September 25, 2007: Message edited by: pooja jain ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the backslash character to escape the quote.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!