This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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.