jquery binding events to link fails
<p>I have got this jquery code:</p>

<pre><code>$(document).ready(function(){
$('a').bind('click', false);
var url;
$('a').on('click',function(e){
    url=$(this).attr('href'); //;
    $('#AjaxPage').load(url+" .AjaxContent");
});
</code></pre>

<p>});</p>

<p>The problem is the click event works the first time .. but on the content loaded from the loaded function , the links there dont have the click event i binded .. why is that? 
I thought you use 'on' as you would use 'live'</p>

<p><strong>Update:</strong></p>

<p>Now my load function doesnt get executed:</p>

<pre><code>   $(document).ready(function(){


$('a').bind('click', false);
    var url;


$(document).on('click', 'a',function(){
        url=$(this).attr('href'); //;
        $('#AjaxPage').load(url+" .AjaxContent");
    });
});
</code></pre>
