Jump Menu using CFSelect
I'm trying to create a query generated jump menu that will jump the user to a new page based on whatever option is selected from the drop down menu. I'm basically a little lost on handling the onChange action of the form. Here's the code I have so far.
<cfform action="pro/course.cfm?courseID=#rsCourses.courseID#" method="post">
<cfselect name="courselist"
size = "1"
width="150"
multiple = "No"
message = "Select a course"
query = "rsCourses"
group="courseCategory"
display ="courseName"
onChange="courselist.selectedIndex=courseID"
selected="courseID"
value = "courseID"
queryPosition = "Below"
>
<option value = "">Select a course</option>
</cfselect>
</cfform>
