It depends on what you mean by 'pass this variable back.' If you just want to stick it in, for example, a hidden form field you could do
opener.document.myform.myfield.value = document.popupform.popupfield.value; window.close(); Or something similar. -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -----Original Message----- : From: Thane Sherrington [mailto:[EMAIL PROTECTED]] : Sent: Monday, February 17, 2003 4:00 PM : To: CF-Talk : Subject: -OT- Passing Javascript variables : : : I have a Javascript script that opens a new window and prompts for input : and then closes. Is there a way to pass this variable back to the parent : window without refreshing it? : : T : : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4