I am clicking a submit button using this:
$('input[type=submit]').click();
The problem is that I have more that 1 submit button on my page so I need to target a specific submit button.
How could I do that?
Add ids to each button and select the id with jQuery.
id
Or, if the forms have ids, then just target the form and submit it like so:
$("#form-id").submit();