Jquery Submit Form By Clicking Link Issue
I'm trying to submit a form by clicking on a link. I disabled the redirection, but for some reason .submit() is not working... Here is what I have tried: Effect: redirection stops,
Solution 1:
The issue is probably that you are trying to call submit() on a jQuery object, not the form DOM element.
Try this as your second line of code:
$('form#fadmin')[0].submit();
Post a Comment for "Jquery Submit Form By Clicking Link Issue"