We have an app that does this all over the place.  In our case it is for our
intranet so we can insure that everyone is using IE.  Therefore we did it
with <IFRAME> tags.  But you can do the same thing with regular frames, you
just have another object level in the chain.

To reference the form on the parent page we do a parent.formname.submit() -
i.e. parent.DataForm.submit()

______________________________________________________ 

Bill Grover     
Supervisor MIS                  Phone:  301.424.3300 x3324      
EU Services, Inc.               FAX:    301.424.3696    
649 North Horners Lane          E-Mail: [EMAIL PROTECTED]
Rockville, MD 20850-1299        WWW:    http://www.euservices.com
______________________________________________________ 



> -----Original Message-----
> From: Matt Liotta [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 05, 2002 3:37 PM
> To: CF-Talk
> Subject: RE: Passing values between frames
> 
> 
> I am not anywhere a JS reference, but you can reference the parent
> frame's form with something like parent.document.
> 
> -Matt
> 
> > -----Original Message-----
> > From: Douglas Brown [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, May 05, 2002 12:24 PM
> > To: CF-Talk
> > Subject: Re: Passing values between frames
> > 
> > How can I have the child frame cause the parent to submit to
> > itself using JS?
> > 
> > 
> > 
> > 
> > Douglas Brown
> > Email: [EMAIL PROTECTED]
> > ----- Original Message -----
> > From: "Matt Liotta" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Sunday, May 05, 2002 11:58 AM
> > Subject: RE: Passing values between frames
> > 
> > 
> > > In order to move data from JavaScript to CF, you will need to
> > have the
> > > browser make a request. A common way to hide this is to use a
> > hidden
> > > frame. In the hidden frame, you have JavaScript send and receive
> > some
> > > data on a regular basis. You might want to look to WDDX for help
> > moving
> > > the data back and forth.
> > >
> > > -Matt
> > >
> > > > -----Original Message-----
> > > > From: Douglas Brown [mailto:[EMAIL PROTECTED]]
> > > > Sent: Sunday, May 05, 2002 11:58 AM
> > > > To: CF-Talk
> > > > Subject: Passing values between frames
> > > >
> > > > I have a chat application that I am attempting and require the
> > brain
> > > > energy of the group. This is frames based app, and I am
> > attempting to
> > > do
> > > > it with an array versus a database. the layout etc... is
> > below. I am
> > > > trying to use a Coldfusion array, but do not know if I can
> > pass the
> > > > value of the textbox in [postMessage.cfm] from javascript into
> > the
> > > > coldfusion array using arrayAppend() somehow.
> > > >
> > > >
> > > > [Index.cfm]
> > > > Holds the <frameset> of the pages
> > > >
> > > > [messages.cfm]
> > > > This is the chat window
> > > >
> > > > [postMessage.cfm]
> > > > This holds the textbox for the person to submit their message.
> > > >
> > > > [whosOn.cfm]
> > > > This holds a list of who is currently logged into the chat
> > > >
> > > >
> > > >
> > > >
> > > > Douglas Brown
> > > > Email: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > 
> > 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to