Hello all-
For a cold-fusion site, how do I edit the below so that a user jumps to the address that he/she selects from the drop down menu. Currently, the URL of the item selected is just appended to the end of the address the user is on.
<script>
<!– Begin
function formHandler(form){
var URL =
document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End –>
</script>
….and the code:
<form name=”form”>
<select name=”site” size=-1>
<option value=”october.cfm”>October
<option value=”september.cfm”>September
<option value=”august.cfm”>August
<option value=”july.cfm”>July
</select>
<input type=”image” src=”../../images/go.gif” onClick=”javascript:formHandler(this)”>
</form>