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