<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title> </title> </head> <body> <form id="form1" name="form1" method="post" action=""> <input type="submit" name="Submit" οnclick="updateinfo(); "/> </form> <mce:script language="javascript"><!-- document.form1.Submit.disabled = ""; var speed = 1000; //速度 var wait = 10; //停留时间 function updateinfo(){ document.form1.Submit.disabled = true; if(wait == 0){ document.form1.Submit.value = "打印PDF"; document.form1.Submit.disabled = false; wait=10; } else{ document.form1.Submit.value = "稍后打印"+wait; wait--; window.setTimeout("updateinfo()",speed); } } // --></mce:script> </body> </html>