Yeah. You could popup a window and pass the value of the select box in the
url like...

<select name="myselect" Onchange="popupfunction('myotherpage.cfm?var=' +
this.value)">

In the popup window you'll have #url.var# to play with. 

Then, with JS, you reference the 'parent' window's elements and fields like
window.opener.whatever_you_are_looking_for. 

Say you wanted to put something from the popup window into a field called
'myfield' in the main window.

window.opener.document.forms[0].myfield.value='something from the popup
window'

Then just window.close() the popup


..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
 
-----Original Message-----
From: Gordon Cantor [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 20, 2006 5:36 PM
To: CF-Talk
Subject: RE: CF-Talk: Digest every 6 hours

I wish to link to another CF page in a separate window to perform a select
box lookup...then upon select box form submittal...close that window and
send the value back to the original cf page.

Any ideas on how to do that? On click event javascript code within the
select box?

Regards,
 
Gordon 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.21/235 - Release Date: 1/19/2006
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230159
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to