I have a form that looks like
<form action="/aa/bbcc" method="post" id="Form1" accept-charset="UTF-8">
<input type="hidden" name="somename" value="somevalue" />
... other stuff
</form>
In general $(document).ready(function(), which is divided between several pages, I want to determine if I am on a page that has a form with the following characteristics
- action = "/ aa // bbcc" and id = "Form1"
- input with name = "somename" and value = "somevalue"
How to do it?
The page has access to jquery, if necessary. Without jquery is fine too.
source
share