Bind an action when a button is clicked in jQuery doesn't work
<p>i have a strange problem, i'm binding an action to a button using the jQuery function (click), when i click the button nothing happens, how that come!, here's the code i'm using:    `        </p>

<pre><code>&lt;script &gt;
    $( '#admin' ).live( 'pageinit',function(event){
    $('#AddButton').click(function(){
            alert("Clicked")
        });​
    });
&lt;/script&gt;
</code></pre>
