Change form action using jquery

Change form action using jquery

Added by Nasir Mahmood updated on Friday, November 17, 2017


Previously while working on Online Sqlite Management studio, I need to use same form data against multiple actions. From server side on can not do that so solution was to use client side and jquery is our friend to handle such problems?

Following is small snippet for this problem

$('#button_id').on('click', function () {
    $('#form_id').attr("action", "Actionname");

Related Tags


32 Tutorials
27 Snippets
6 Products


Contact Us

Contact us

Stay Connected