Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

showModalDialog unable to pass a string

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
US
I can not get the showModalDialog to pass a string for me. That is, the page that is opened, does not receive the string.

My code looks something like this:
Code:
window.showModalDialog "mywebpage","mystring","features"
Via the window_onload event of "mywebpage" I check dialogArguments. But it's always empty. However, if, instead of passing "mystring", I pass a number then dialogArguments contains the number.

Why am I unable to pass a string?
 
Exactly the same. It is the other following(?) script lines in the dialog which may cause the dialog to error out... and create the illusion of it not being passed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top