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 video slider with cuncks of videos without download all videos?

 Create video slider with cuncks of videos without download all videos function custom_video_slider_shortcode() { $slider_id = 'vide...