27 January 2020

How to submit form with anchor tag (link) in jquery?

 Submit form with anchor tag (a and link) in jquery


<form method="get" action="">
<input type="hidden" name="ID" value="<?php echo $dealid;?>">
<input type="hidden" name="con" value="construction-contract">
<a href="" onclick="this.closest('form').submit();return false;" value="CONSTRUCTION CONTRACT" class="contract-button">CONSTRUCTION CONTRACT</a>
</form>

No comments:

Post a Comment

How to create youtube videos slider with play and pause option in wordpress?

Create youtube videos slider with play and pause option in wordpress youtube videos slider Use this shortcode:- [punjab_today] function my_...