vbs页面显示结果问题
现有vbs代码
........If Err.number <> 0 Then errcode = hex(Err.Number) If Err.Number <> 0 and errcode <> "80092004" then sz="The error '" & errcode & "' occurred." & chr(13) & chr (10) & "Your certificate could not be retrieved." blah=MsgBox(sz,0,"Internet Explorer Certificate Retrieval") top.main.history.back 1 document.forms(0).res.value="错误代码:"& errcode end if document.forms(0).res.value="错误代码:"& errcode else document.forms(0).res.value="成功" End If
<div align="center"> <input type="text" name="res" size="50"/> </div>
If Err.number <> 0 Then errcode = hex(Err.Number) If Err.Number <> 0 and errcode <> "80092004" then sz="The error '" & errcode & "' occurred." & chr(13) & chr (10) & "Your certificate could not be retrieved." blah=MsgBox(sz,0,"Internet Explorer Certificate Retrieval") top.main.history.back 1 document.getElementById("pad").innerHTML="错误代码:"& errcode end if document.getElementById("pad").innerHTML="错误代码:"& errcode else document.getElementById("pad").innerHTML="成功" End If