Dynamically change the form action using JavaScript

<a onclick=”$(‘form’).attr(‘action’, ‘http://bestonetechnologies.com/’); $(‘form’).submit();” title=”submit form”>
on anchor tag dynamically change the form action and submit using JavaScript
</a>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.