RE: JS-question- transferring text from one template to another

2001-04-23 Thread Terry Bader

something like:

opener.parent_form.inputfield.value = document.child_form.inputfield.value;

but if you reload the data is not submitted and thusly it comes back as a
reset form...  so you will need to submit it...

opener.parent_form.submit();

//this will reload the parent page: opener.location.reload(true);

then...

self.close()



Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 12:31 PM
 To: CF-Talk
 Subject: OT: JS-question- transferring text from one template to
 another
 
 
 Hi, I want to do the following:
 
 I have an Input-template with five text-fields.
 On on text field (memory-field, text area) I want to call a 
 small browser
 window via
 JS (wiht a hyperlink). So far so good. I know how I can do 
 that. In the
 called template I have another
 Input-field which gets filled by the user. What I want to do 
 is transferring
 the text in this text-area back to the calling page and 
 reloading, but the
 text
 already filled in the four ohter input-boxes shouldn't be 
 touched/changed.
 How can I do this.
 Does s.o. has his code available ?
 
 Thank you.
 
 Uwe
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: JS-question- transferring text from one template to another

2001-04-23 Thread Christopher Olive, CIO

take a look at irt.org and thier JS faq.  there are TONS of code snippets
there.

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 12:31 PM
To: CF-Talk
Subject: OT: JS-question- transferring text from one template to
another


Hi, I want to do the following:

I have an Input-template with five text-fields.
On on text field (memory-field, text area) I want to call a small browser
window via
JS (wiht a hyperlink). So far so good. I know how I can do that. In the
called template I have another
Input-field which gets filled by the user. What I want to do is transferring
the text in this text-area back to the calling page and reloading, but the
text
already filled in the four ohter input-boxes shouldn't be touched/changed.
How can I do this.
Does s.o. has his code available ?

Thank you.

Uwe
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists