日期:2014-05-16  浏览次数:20363 次

js中弹出框显示是,否,取消

<script language="Javascript">
function preview()
{??? var bln;
???? bln=show("是否要将签核过程打印在页面后?")
?????? switch(bln)??
??????? { case?? 6:??
???????? SignTR.className='';
???????? break;??
???????? case?? 7:??
???????? SignTR.className='NOPRINT';
???????? break;??
???????? case?? 2:????
???????? return; }??
}

?function?? show(str)??
? {??
???? execScript("n = msgbox('"+str+"',3,'提示')","vbscript");
????? return(n);??
? }??

?

</script>