---考试通知 function check(operate) { form1.operate.value = operate; if (operate == "addTryBook") { <% if(buf.fget("submitbtn",0).equals("0")){ %> form1.action = "/zhyw/smsj/TryBook.jsp"; <% }else if(buf.fget("submitbtn",0).equals("1")){ %> alert("已经考过试了呀!"); <% } %> }