Form onsubmit mystery

windows

Guest
I have a HTML form in Netscape 4 that calls a Javascript Function and it works great but after I put in the <ilayer> it seems to ignore the onSubmit return myFunction. Basically after I add the <ilayer> it eliminates the onSubmit "MyFunction" part. Is there something I can do to get "myFunction" to work in the <ilayer>?? <br />
The MyFunction() is validating form data entry. The form still works with <ilayer> but it ignores the MyFunction part.<br />
<br />
<ilayer=l1><br />
<form name="mypage" action="otherpage.html" onSubmit="return myFunction();"><br />
<br />
//form stuff here<br />
<br />
</form><br />
</ilayer><br />
<br />
I also tried 3 other ways putting the function in the input part and taking the onsubmit out of the <form> area, and it still doesnt work:<br />
<input type=button onClick="myFunction()"><br />
<input type=button onClick="return myFunction();"><br />
<input type=button onClick="return myFunction()"><!--content-->"<ilayer=l1>"<br />
<br />
Does not look correct declaration of an ilayer element.<br />
<br />
Khalid<!--content-->
 
Back
Top