difference between '$(<%= DDL.ID %>) & $('<%= DDL.ID %>')
<p>I was trying to bind an event to drop down list since yesterday nothing helped went to JavaScript chat room no one was able to find a fix to my problem, but then I somehow tried to bind my drop down list as following </p>

<pre class="lang-js prettyprint-override"><code>$('&lt;%= ddl.ID %&gt;').bind('change',myfunction);
</code></pre>

<p>to</p>

<pre class="lang-js prettyprint-override"><code>$(&lt;%= ddl.ID %&gt;).bind('change',myfunction);
</code></pre>

<p>and it started working, any idea ?</p>

<p><strong>EDIT</strong></p>

<p>Sorry Its not working on IE :(</p>
