[thelist] Sending Var From Popup To Parent

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Thu Feb 3 15:47:50 CST 2005

   Pop that filename into a javascript variable, and then say something like this:

window.parent.document.form.textBoxName.value = myFileName;

From: russ at unrealisticexpectations.com

I think I may be simply unable to articulate how to do actually search for 
this, since I'm sure it's a common thing to achieve...

Regardless, the situation is this:

I have a form with an option to upload a file in 2 places.
Select the "upload" button, launch the file upload dialog.
Browse to find file.
Submit/upload file.
Close window.

Except, now that it's done, I want to send the resulting filename (using 
coldfusion #cffile.serverfile#) back to my form and to the appropriate text 

Anyone? Thanks!

More information about the thelist mailing list