onsubmit IE,NS都支持.document.form1.onsubmit()="new code"
->
document.form1.onsubmit=function(){ //code....};