Hello,
i need to find a parent form of an submit button with jquery.
The method
$('#submit').parent("form")
only works when the submit is direct in the form element.
But when I surround the submit element with an div it does not work.
Sample:
This work:
This work not:
How can
Hello,
i need to find a parent form of an submit button with jquery.
The method
$('#submit').parent("form")
only works when the submit is direct in the form element.
But when I surround the submit element with an div it does not work.
Sample:
This work:
This work not:
How can I
2 matches
Mail list logo