Submit a form using javascript

  • 0

We can submit a form using its name, id, class and tag

<form id=”form” name=”form1″ class=”form”>
</form>

Suppose forms name is “form1”, then we can submit the form with jquery as below:

$(“form[name=’form1′]”).submit();

We can submit a form using its name, id, class and tag <form id=”form” name=”form1″ class=”form”> </form> Suppose forms name is “form1”, then we can submit the form with jquery as below: $(“form[name=’form1′]”).submit();

We can submit a form using its name, id, class and tag <form id=”form” name=”form1″ class=”form”> </form> Suppose forms name is “form1”, then we can submit the form with jquery as below: $(“form[name=’form1′]”).submit();