runs unless I click on the button
<p>here is my code in a page javascript, my problem that the first time I click on the button and I go to the second page and all goes well, but when I returned to this page another time, function of button <code>$("consulter").live('click',function(e)</code> runs unless I click on the button</p>

<p>how can i resolve this problem</p>

<pre><code> $('#lbtn').append('&lt;input type="button" value="Consulter" id="consulter" &gt;');


$("consulter").live('click',function(e)
         {

    alert("eere");
        var sel_id_rub = $('input[name=opt1]:checked').attr('id');//ID of Rubrique

         window.localStorage.setItem("id_rub", sel_id_rub);       //Id Rubrique
         liste_Phrase();



     }
     );
</code></pre>
