jquery click function load php-page only first click
<p>page is loaded only once, that is, when you press the button the first time. How to make so that it is loaded and on subsequent pressings? And how to pass data from php to javascript? javascript alert work fine, but page bbb.php load only 1-st time. tnx</p>

<pre><code>    &lt;body&gt;

   &lt;div id="stage"&gt;STAGE&lt;/div&gt;

   &lt;div id="driver"&gt;&lt;p&gt;click to load graph&lt;/p&gt;&lt;/div&gt;

   &lt;script type="text/javascript" language="javascript"&gt;
   function bindClicks() {
   $("#driver").live('click', function() {

$.get("http://127.0.0.1/bbb.php", { year: "2011", $month: "08", day: "06" }, function(data){

$('#stage').html(data);
alert("work fine");

});

      });

   }

   &lt;/script&gt;

&lt;script type="text/javascript" language="javascript"&gt;
   $(document).ready(function(event){
         bindClicks();
         event.preventDefault();
     });
&lt;/script&gt;


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