Thread: Form events
View Single Post
Team Leader
3Oct2006,11:42  
pradeep's Avatar
You can use JavaScript to the change the action of the form at the onClick event of a button.

Example:
Code: JavaScript
document.forms[0].action = 'somepage.asp';
 document.forms[0].action = 'anotherpage.php';