A form is not submited when $(.submit).click(); used
Hi,
I have some function to fire when I click a submit button. When I do that a form does not submit anything, it just fire my function etc.
Here is my code:
$("#hm-submit-form").click(function () {
$("#nav ul li.products").delay(200).fadeIn();
$("#nav ul li.agel-tour").delay(600).fadeIn();
$("#nav ul li.compensation").delay(1000).fadeIn();
$("#thanks-box").delay(200).fadeIn();
$("#thanks-box").delay(1500).fadeOut();
$('#target').submit(); //this I guess should submit a form