aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes quote inside quote inside quote Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "quote inside quote inside quote" Watch "quote inside quote inside quote" New topic
Author

quote inside quote inside quote

pooja jain
greenhorn
Ranch Hand

Joined: Jan 12, 2005
Posts: 213
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 ]

:d
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61224
    
  66

Use the backslash character to escape the quote.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: quote inside quote inside quote