I usually do something like this.
onChange="window.open(this.options[this.selectedIndex].value,'_top')"
this will take the url in the value of the option and open it.
HTH,
Robert
:-----Original Message-----
:From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
:Sent: Tuesday, June 26, 2001 2:19 PM
:To: [EMAIL PROTECTED]
:Subject: RE: Drop-down menu and redirect based on selection
:
:
:
:
:
:Hi,
:
:
:I have the following dropdown menu. I would like to be
:able to redirect to
:a new page based on one of the selections below.
:
:I'm not sure of the proper syntax.
:
:
: <CFFORM ACTION="index.cfm" METHOD="GET"
:ENABLECAB="Yes" NAME="form2">
:
: <SELECT NAME="md" SIZE="1" CLASS="dirlinks"
:onChange="parent.location='http://url'">>
: <option value="url"
:selected>http://url1</option>
: <option value="url">http://url2</option>
: <option value="url">http://url3</option>
: <option value="url">http://url4</option>
: <option value="url">http://url5</option>
: </select>
:
: </CFFORM>
:
:
:-------------------------------------------------------
:------------------
:This email server is running an evaluation copy of the
:MailShield anti-
:spam software. Please contact your email administrator
:if you have any
:questions about this message. MailShield product info:
:www.mailshield.com
:
:-----------------------------------------------
:To post, send email to [EMAIL PROTECTED]
:To subscribe / unsubscribe: http://www.dfwcfug.org
:
