I am trying to use a string that contains double quotes in the title attribute of an anchor. So far I tried these:
Using " is the way to do it. I tried your second code snippet, and it works in both Firefox and Internet Explorer.
"