Asp.net yellow code  <% vs Explicit asp control 
<p>I have a literal in my aspx called xxx.</p>

<p>Now lets go into the JS world.</p>

<p>I always used  :</p>

<pre><code>   alert('audit.aspx?claim_id=&lt;%= xxx.Text%&gt;');
</code></pre>

<p>But Ive seen a code like this : </p>

<pre><code>     alert('audit.aspx?claim_id=&lt;asp:Literal id="xxx" runat="server" /&gt;');
</code></pre>

<p>This is also working.</p>

<p>Can I conclude that the <code>&lt;asp:Literal</code> is equal to   <code>&lt;%=</code>   syntax ? </p>

<p>I know that he is a RUNAT server Item...</p>

<p>but again - I want to see the differences.</p>
