I am trying to document.write something to a page using JavaScript.
My HTML currently looks like this:
<li data="url: 'page.htm', target: 'Page', item: '4'">item4</li>
And I am trying to document.write it to the page.
However I have have a problem tring to include the " in the code. I have tired using the following but had no luck.
document.write("<li data="url: 'reader.htm', target: 'AccessPage', reader: '4'">4</li>");
any ideas how to include the quote mark in the string?
Escape it.