2010-04-13 5 views

Répondre

0
$('a.link').click(function(){ 
    // you jquery ajax code 
}); 

vous pouvez alors aller comme

$('someotherelement').click(function(){ 
    $('a.link').trigger('click'); 
}); 
+0

c'est ce que vous cherchez? – XGreen

1

Maintenant, je compris. Cela fonctionne:

$('a.l_like').each(function(index) { 
    $(this).click(); 
}); 
Questions connexes