Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
TheScarecrow #1
select option & change page
I am trying to use a drop down menu to switch pages based on the users
selection. I get the error that 'year_select' is not defined. What cam I
doing wrong? thanks Here is my code' <CFFORM name='changeyear'
action='#year_select#' method='post'> <select name='year_select'
onChange='this.form.submit()'> <option value='' selected='selected'></option>
<option value='index.cfm'>2004/2005</option> <option
value='03-04.cfm'>2003/2004</option> </select> </CFFORM>
TheScarecrow Guest
-
getting data from select name-option value
I can?t seem to solve this problem. On my First page (index) I create a query that populates an option value (or list) box. When the user selects a... -
[PHP] <Select><option......></select>
On Wednesday 23 July 2003 02:16, Etienne Mathot wrote: If I understand you correctly, this is in fact an HTML question. To make a drop down box... -
Select/Option
hi! i just want to ask on how will i load the other version of file written in another language (e.g Japanese)upon selecting that particular... -
De-Select Option Group Check Box
How do I allow users to de-select a check box in an option group after they've selected it? -
Select option on right click
I have a simple select form element object and want to be able to get it to select whatever the user chooses when they right-click in it. I've... -
eastinq #2
Re: select option & change page
The action value should be the cfm page you want to goto not #year_select#.
eastinq Guest
-
eastinq #3
Re: select option & change page
Sorry, I just realized what you're trying to do. Here is what you need.
<CFFORM name="changeyear" action="" method="post">
<select name="year_select" onChange="this.form.action=this.value;
this.form.submit()">
<option value="" selected="selected"></option>
<option value="index.cfm">2004/2005</option>
<option value="03-04.cfm">2003/2004</option>
</select>
</CFFORM>
eastinq Guest
-



Reply With Quote

