I try to get jQuery object of a submit button in a specific form (there are several forms on the same page).
I managed to get the form element itself. It looks somet
Using plain javascript (without relying on jquery):
var curSubmit = curForm.querySelector('button[type="submit"]');