title: uncaught syntaxerror unexpected token in Chrome in jquery replaceWith
body: <pre><code>jQuery('div#top').replaceWith('&lt;div id="top"&gt;
  
  &lt;/div&gt;')
  </code></pre>
  
  <p>Chrome says uncaught syntaxerror unexpected token in the first line. I dont know whats the error here. I am just trying to replace the top div.</p>
  
  <p>FYI -- I am replacing the whole data of div top with mine. I am placing a lot of div`s inside  top which I havent pasted here.</p>