title: Error with Embedded code blocks using Javascript in .net
body: <p>I get an error Unterminated String Constant when I give like this </p>
  
  <pre><code> &lt;input type="button" name="cancel" value="Close" onClick="javascript:top.location.href = '../admin/page.aspx?curTab=&lt;%=curTab%&gt;';"&gt;
  </code></pre>
  
  <p>And I get unterminated string Constant and syntax error for this at the '&amp;' for the following line of code</p>
  
  <pre><code>&lt;input type="button" name="cancel" value="Close" onClick="javascript:top.location.href = 'plan.aspx?res=&lt;%=Request("res")%&gt;&amp;Count=&lt;%=Request("count")%&gt;';"&gt;
  </code></pre>
  
  <p>Can anybody please tell me whys this happens?I suppose this is because of the embedded code block. Please help me </p>
  
  <p>Thanks in advance !</p>