JS实现:function checkfrompost(thisvalue) {if(thisvalue==0)else if(thisvalue==1)else window.document.form.submit();}