jquery setInterval and setTimeout not working
<p>i am stuck here...i am trying to inactive a button for 5 sec after per click...
i can inactive the button but having trouble while bringing it back
i tried bith setIntervel and setTimeout</p>

<pre><code>     function reverser(){
       $(this).css("background","url(images/btn_active.gif) no-repeat 0 0");
   }


      $(".vtbtn").click(function() {  
       var link =$(this).attr('id');
           $(this).css("background","url(images/btn_inactive.gif) no-repeat 0 0");  
          $.ajax({  
              type: "POST",  
              url: "sql.php",  
              data:"voted=" +link+"&amp;user="+&lt;?php echo $userId;?&gt;,  
              success: function(data){  
              setInterval('reverser()',3000);
              } 
          }); 


});
</code></pre>
