Thread
:
Form events
View Single Post
pradeep
Team Leader
3Oct2006,11:42
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'
;