How can i implement a code for auto-clicking
<a href="#" class="link">test</a>
type links?
$('a.link').click();
doesn't work
How can i implement a code for auto-clicking
<a href="#" class="link">test</a>
type links?
$('a.link').click();
doesn't work
$('a.link').click(function(){
// you jquery ajax code
});
you can then go like
$('someotherelement').click(function(){
$('a.link').trigger('click');
});
Now i figured out. This is working:
$('a.l_like').each(function(index) {
$(this).click();
});