Return to Snippet

Revision: 42351
at March 3, 2011 17:09 by chopbust


Initial Code
function submitform()
{
document.myform.action="new_url_here"; // myform is the name of form in your <form> tag
document.myform.submit(); // myform is the name of form in your <form> tag
}

Initial URL


Initial Description
To change the action attribute of a form.

Initial Title
Change Form Submit target destination

Initial Tags


Initial Language
JavaScript