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:

```
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> 

<script type="text/javascript">

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

</script>

```

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?

Thanks