This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 63211
    
  69

Use the backslash character to escape the quote.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: quote inside quote inside quote
 
It's not a secret anymore!