Article ID: 192114
Article Last Modified on 5/11/2006
<SCRIPT language="VBScript">
Sub btn_onClick()
sArguments = "OK"
showModalDialog("modalDlg.htm", sArguments)
End sub
</SCRIPT>
When you access the window.dialogArguments window property from within
Modaldialog.htm, you receive a type mismatch error. Here is the HTML code
for Modaldialog.htm. This HTML creates a button that, when clicked,
displays dialogArguments in an alert box.
<HTML>
<BODY>
<BUTTON onclick="alert(dialogArguments)">dialogArguments</BUTTON>
</BODY>
</HTML>
Keywords: kbbug kbfix KB192114