Passing parameter to modal dialogbox

G

Guest

Hi,
I'm using showModalDialog to open a Window and return a user selected
variable.
Here is the code:
retval=window.showModalDialog(sFrameName,window,sFeatures);
document.getElementById(sControlName).value=retval;

This works fine but I can't figure out to pass a value into the dialogbox
I'm creating. I display different data in the dialogbox based on this
variable. Anyone have a suggestion?
Thanks,
Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,296
Latest member
HeikeHolli

Latest Threads

Top