On Aug 3, 4:51 pm, jsmart <[EMAIL PROTECTED]> wrote:

> I am trying to have the pop-up do something (upload an image in this
> case) then when the image loads, pass the file name to a text box in
> the form on the parent window. With the onload command I have been
> able to make the window close automatically. My problem is passing the
> data to the parent. I can do it if I make the child a seperate poop-up
> window, but from modal, I get no - where. A huge amount of Googling
> only led me to one related article which basically stated it was hard
> to do, then gave some general ideas on how to do it.

I may be offbase here, but could it be related to the idea that DOM
will restrict any programmatic attempt to set the FILE UPLOAD control
(type="file") file name values?

If so, this was a security issue that was addressed long ago. A
control type="file" is designed to be a manual input by the user.  DOM
will ignore any javascript attempt to set this value.

Does this related to your issue?

--
Hector Santos
http://www.santronics.com

Reply via email to