jQuery not firing click events for button in IE
<p>I'm a newbie of jQuery. Now I'm trying to intercept click login button that I've create with id='btnL' with this code:</p>

<pre><code>&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt; 

&lt;script type="text/javascript"&gt;

(function() {
    $("#btnL").click(function() {
        alert("Handler for .click() called.");
    });
})();

&lt;/script&gt;
</code></pre>

<p>I've put this code inside a body but i don't know why it works correctly on FireFox and Chrome, but it not works fine in Internet Explorer.
How can i solve it? which is the problem?</p>

<p>Thanks</p>
