John,
Do you have something up so that I can take a look at it to see what you are
trying to do? I can only imagine you are using something like Thickbox or
something similar where the page being loaded into the modal box is actually
in an iframe. If so, you should treat things as if it is from iframe to
parent.
Can you clarify what you are trying to do a little more? or post a url to
what you have already.
Ben
btw: for future reference, you will get more help if you have a relevant
subject line.
On 8/8/07, jsmart <[EMAIL PROTECTED]> wrote:
>
>
> Ok, I tried this, but have been overwhelmed by stupidity.
> Do I need to add this to the external code I use for the modal window?
> I added it to the head of the parent page, and the chil;d page to no
> avail. I do not get error reports, it just does not perform. I made
> sure that I had properly identified the field names.
>
> I even added it to the input tag - to no avail. I am sure I am
> missing something painfully obvious. Any ideas?
>
> Thank you so much for your help so far - I am truly greatful.
>
> John
>
> On Aug 3, 2:22 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> > I haven't done it, but isn't the modal window just a div on the parent
> page?
> > I would think you could add a function in the onHide callback that would
> > select the appropriate modal window field and then populate your parent
> > window field with the value. Not tested, but something like this should
> > suffice:
> >
> > onHide: function() {
> > $("#parentfilefield").val($("#modalfilefield"));
> >
> > }
> >
> > -- Josh
> >
> >
> >
> > ----- Original Message -----
> > From: "jsmart" <[EMAIL PROTECTED]>
> > To: "jQuery (English)" <[email protected]>
> > Sent: Friday, August 03, 2007 1:51 PM
> > Subject: [jQuery] annoying newbie
> >
> > > I have read through the site, and fear I am asking in the wrong place.
> > > If I am, please accept my sincear apologies.
> >
> > > I use the modal pop up in many situations - it is fantastic! I am
> > > forever indebted to the skills of the programmers, your skills make me
> > > look clever!
> >
> > > 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.
> >
> > > Sadly, js is double dutch to me - I can php with the best of them,
> > > html like a pro - css pretty darn well, but js? Not happening. I am
> > > still studying, and trying to change this,
> >
> > > I do not expect you to do my work for me. Can you give me any clues
> > > though? Maybe you know a working example I can peek at, maybe you know
> > > a tutorial that will assist my plight?
> >
> > > Thank you so much for this wonderful code, and in advance for any
> > > assistance you are able to give me.
> >
> > > Kindest regards,
> > >JohnSmart- Hide quoted text -
> >
> > - Show quoted text -
>
>
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com