Can someone help me understand this line of jquery code?:
$(this).find('input[type="submit"]:not(.cancel), button').click(function ()
I’m particularly interested in .cancel, since the whole chunk of jquery code (not included here) is being used to validate a page and I’m trying to prevent the validation if the user clicks on the cancel button. I’m guessing the above line of code is saying it the submit button clicked is NOT the cancel button, then continue.
But I don’t know how to designate a button as cancel.
Basically it is looking for elements located within
thisthat has the following requirementscancelOR