Results 1 to 6 of 6
Thread: onSubmit not working in a layer
Jun 9, 2001, 13:45 #1
- Join Date
- Mar 2001
- 0 Post(s)
- 0 Thread(s)
onSubmit not working in a layer
This is really frustrating.
I've got some form code that works fine on a regular HTML page, but when I put it in a layer, its screwy.
<form action="doform.php" method="POST" onSubmit="myfunction()">
Basically I want to call the function and submit the form at the same time. Works fine on a plain page, but when I try in a layer, it goes to the "doform.php", but it doesn't submit any of the form values! (When I change the method to GET, it goes to "doform.php?" with no variables after the ?)
If I remove the "onSubmit" everything works.
Thanks for the help!