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
>
>
>
> 

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to