The message box used here is a VB message box. to use VB in JScript, execScript function is used.
function window.confirm(str)
{
execScript("n = msgbox('" +str+ "','4132', 'Title')", 'vbscript');
return( n == 6);
}
Monday, November 10, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment