title: jquery click event run one time only
body: <p>im having a problem with the click event. It run one 1 time. Example:</p>
  
  <p>I have 3 pages(1 2 3). when i click in the 2 it work. then in the 3 page and it work again. But i click in the 2 agains doesnt work. The event is not triggered.</p>
  
  <pre><code>$("div .top.pagination a").click(function(){  
  
   PagNrClick = $(this).text();
              PagNrOld = $(".top.pagination .current").text();    
              RegMin = (NrReg-1)*(PagNrClick-1);
  
  
              //altera a pagina activa para por selecionar
              $(".top.pagination .current").replaceWith('&lt;a title="'+PagNrOld+'" href="#'+PagNrOld+'" rel="history"&gt;'+PagNrOld+'&lt;/a&gt;');
              //altera a pagina que clicou para activa
              $(this).replaceWith('&lt;span class="current"&gt;'+PagNrClick+'&lt;/span&gt;');             
  
              if(RegMin%2 || RegMin%0){
                  RegMinValue = RegMin;
              }else{
                  RegMinValue = RegMin+1;
              }
              //:gt(0) - greater then 0 não mostra a 1º posição(BUG DO JQUERY??????)
              if(PagNrClick==1){
                  $("#thumbs li:eq(0)").show();
              }
              //esconde todos os registos e mostra os 12 proximos registos
              $(".thumbs li:visible").hide();
              $(".thumbs li:gt("+RegMinValue+"):lt("+NrReg+")").show();
  });
  </code></pre>
  
  <p>i have insert the code into jsfiddle</p>
  
  <p><a href="http://jsfiddle.net/B2Usk/1/" rel="nofollow">http://jsfiddle.net/B2Usk/1/</a></p>