I've used the following code to fill a dropdown box on a form from a sql database within vbscript, my question is - is there a way to pass on a parameter to the page my dropdown box calls?
<SCRIPT LANGUAGE="JavaScript">
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
<form name="form">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value=<% response.write strNotes %>
</select>
</form>



Reply With Quote

Bookmarks