DrumAt5280
Technical User
The following Coldfusion code dynamically generates a list of suburbs in a pulldown menu.
I would like to use onChange="gotoURL();" so when a user selects a suburb from the menu it will take him to the correct page without a submit button. I know how to do this with plain HTML but not in Coldfusion.
Any ideas?
I would like to use onChange="gotoURL();" so when a user selects a suburb from the menu it will take him to the correct page without a submit button. I know how to do this with plain HTML but not in Coldfusion.
Code:
<cfform id="forma" method="post" action="" name="forma">
<CFSELECT NAME="csFk"
QUERY="GetSuburb"
VALUE="suburbId"
DISPLAY="suburb" >
<OPTION value="0" selected>-- all location --</option>
</CFSELECT>
</CFFORM>
Any ideas?