Hey Matt,
Ok, it almost works...When I select pobox to be 1 (yes), the shipping
method changes perfectly. Only one problem...the pobox value disappears!
I can still see the dropdown options, but everytime I select one, it
just displays a blank option. Any ideas?
- Gary
<select name="pobox" onchange="if (pobox.selectedIndex= 3)
shippingmethod.selectedIndex = 3;" class="formfield">
-----Original Message-----
From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 1:49 PM
To: CF-Talk
Subject: RE: OT - JS Select Menu...
Sorry...
<select name="pobox" onchange="if (pobox.selectedIndex== XXX )
shippingmethod.selectedIndex = YYY;">
where I have XXX you need to replace it with the numbered index that the
value of 1 is in your pobox select box. Where I have YYY you need to
replace it with the numbered index that the value of 11.95 is in your
shippingmethod select box.
-----Original Message-----
From: Houk, Gary [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 1:33 PM
To: CF-Talk
Subject: RE: OT - JS Select Menu...
Hi Matt,
I just tried this, but it's still asking for ")" ...any thoughts?
<select name="pobox" onchange="if (pobox.selectedIndex==(index of 1))
shippingmethod.selectedIndex = (index of 11.95);">
-----Original Message-----
From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 1:28 PM
To: CF-Talk
Subject: RE: OT - JS Select Menu...
Hi Gary,
<select name="pobox" onchange="if (pobox.selectedIndex==(index
of 1) shipbox.selectedIndex = (index of 11.95);">
Matt Small
-----Original Message-----
From: Houk, Gary [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:28 PM
To: CF-Talk
Subject: OT - JS Select Menu...
I have two select menus, one is for pobox and one for shipping method. I
want to automatically select the shipping method usps (value of that
option is 11.95) when a user selects pobox (value of 1). I could get it
to update a regular text box, but not a select menu. Any help/code would
be great.
TIA,
- Gary
______________________________________________________________________
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