Home » Javascript2 January 2012

Javascript: How to Submit form and Change form action?

This article will show you how to submit form and change form action using javascript. This is a very simple trick but it’s very useful and frequently used.

Submit Form using Javascript

HTML form

Javascript function

Change form action using Javascript

HTML form

Javascript function

Full Source Code

Hope it helps. Thanks.

From Mukesh Chapagain's Blog, post Javascript: How to Submit form and Change form action?

php magento mukesh chapagain

Get New Post by Email

Find me on

Facebook Twitter Google+ LinkedIn RSS Feed