$('.button').click();
The above code works great to click all buttons on the page at once, but I am trying to fire off clicks every half or second or so until the jQuery Object has looped i.e.
$(function(){
$('.button').each(function(){
setInterval('$(this).click()', 500);
});
});
Can some one tell me how I can do this? the above code obviously does not work. Am I missing something?