I am trying to find a way to pass a JavaScript variable into a that would use it in another JavaScript code. I am using a JavaScript/CF page that, when the user clicks a button, a JavaScript popup window appears that has a CF calendar in it (thanks to Selena). Users then click on a date and that is pushed back into the main page, populating the date field. I have several fields on the page that use dates and I want this to work for the users. The tag Selena wrote is hard coded for a particular field. I want to pass the field name of the date field the user is currently selecting INTO the CF popup calendar template. That way, when the User clicks on a date, the code passes it back into the right date field. This would keep me from 10 different hard coded calendars templates. Any ideas or even good resources that might do this. Thanks. PS - Anyone interested in the code please contact me off list. Gary McNeel, Jr. Project Manager - DAC-Net, Research & Graduate Studies Rice University - Houston [Lovett Hall] 713-348-6266 (Primary) [DAC] 713-348-5184 [M] 713-962-0885 [H] 713-723-9240 "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein ------------------------------------------------------------------------------ Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

