document.forms["form1"].submit();
var form1=document.getElementById("form1");form1.action="";form1.submit();