How do I cancell a form submit in java script for netscape and Opera?
The following works for ie only.

Code:
function validate()
{

	window.alert("your form won't be submitted")
	window.event.returnValue=false
}


<form name="form1" method="post" action="page.asp" onsubmit="validate()">