web-profile

jQuery .trigger()

Emulate jQuery click:

$('a.target').trigger('click'); // emulate click

Emulate jQuery form submit:

$('form:first').trigger('submit'); // emulate form submit

Leave a Reply

Your email address will not be published.