I'll try this again...last messge did not go through. Once you pass the variable to the popup, it cannot be referenced any longer as a coldfusion variable by using <cfoutput> tags. You will need to populate a field with the value and use it.
P.S If you want to use that later in the page then it will need to be like so.. <script language="Javascript"> var service = opener.document.orders.shiphow[opener.document.orders.shiphow.selectedIndex].v alue; document.popupForm.fieldName.value = service; </script> <form name="popupForm"> <input type="text" name="fieldName"> </form> Douglas Brown Email: [EMAIL PROTECTED] ----- Original Message ----- From: "Eric Hoffman" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, August 03, 2002 11:01 AM Subject: RE: One last ?: Javascript values > Duh, then I can just cfoutput #service# to output the variable or do I > have to do some crazy script coding? > > Regards, > > Eric J Hoffman > DataStream Connexion > www.datastreamconnexion.com > Delivering Creative Data Solutions > > -----Original Message----- > From: Douglas Brown [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 03, 2002 12:54 PM > To: CF-Talk > Subject: Re: One last ?: Javascript values > > > Select boxes are a little different > > <script language="Javascript"> > var service = > opener.document.orders.shiphow[document.orders.shiphow.selectedIndex].va > lue; > </script> > > > > > Douglas Brown > Email: [EMAIL PROTECTED] > ----- Original Message ----- > From: "Eric Hoffman" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Saturday, August 03, 2002 10:41 AM > Subject: One last ?: Javascript values > > > > Okay, one last question so I can finish up...here is what I am trying > > to do per a request: (I am not real proficient at Javascript) > > > > <script language="Javascript"> > > var service = opener.document.orders.shiphow.value; > > </script> > > > > They spawn a new window which opens a child window with the above > > code. What we want to do is grab the value of a select box called > > shiphow from the opening page and assign it a variable to be called > > later in this child page. So, is this best done somehow like that or > > via cfscript? I get an error trying to cfoutput the service variable > > however. I know I am just missing a piece....thanks for all the help. > > > > Regards, > > > > Eric J Hoffman > > DataStream Connexion > > www.datastreamconnexion.com > > Delivering Creative Data Solutions > > > > > > > > > > ______________________________________________________________________ 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

