Select boxes are a little different

<script language="Javascript">
var service =
opener.document.orders.shiphow[document.orders.shiphow.selectedIndex].value;
</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
>
>
>
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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