Thats because, showModalDialog is IE specific function. u cannot use it with
other browsers like Firefox , netscape, etc.
you might want to check if the browser supports showModalDialog with somethign
like this :
if (window.showModalDialog)
{
var rValue =
window.showModalDialog("popup.asp","dialogHeight:500px;center:yes;status:no");
}
else
{
somethign else for other browsers
}
Thats because, showModalDialog is IE specific function. u cannot use it with other browsers like Firefox , netscape, etc. you might want to check if the browser supports showModalDialog with somethign like this : if (window.showModalDialog) { var rValue = window.showModalDialog("popup.asp","dialogHeight:500px;center:yes;status:no"); } else { somethign else for other browsers }