Hi
I have a form going:
<form method="post" action="index.php" onsubmit="return add()">
In javascript, I would like to change the onsubmit to:
onsubmit="return edit()"
In my JS:
formObj.onsubmit = "return edit()";
Doesn't work...
How can you change the obsubmit to do a different function?
Thanks!