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.
This is just an example, but as you can see my onClick takes a String. Inside of that there is another String which is some html code. Inside of that String there is another String for an Href link. As soon as it reads the ' before the www the onClick is going to think it's at the end of the statement when it's not. I'm wanting to know how to handle these types of situations where you have more than 2 Strings nested inside each other.
I realize that the previous example would use \"www.mylink.com\" to escape the quotes... so it's a bad example, but I hope you get my question.