<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
<title> </title> 
</head> <body> 
<form > 
<input type="submit" name="Submit"  onclick="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>

  

相关文章:

  • 2021-11-17
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-08-18
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案