alexanderthegreat
IS-IT--Management
I need to apply a javascript onChange event to a drop down list called 'child' so that when it changes it passes to a url = main.asp?id=<%=(Recordset1.Fields.Item("iddir_dir").Value)%>
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<select onchange="document.location='main.asp?id<%=(Recordset1.Fields.Item("iddir_dir").Value)%>'">
<select onchange="[!]if (this.selectedIndex == 2) {[/!]document.location='main.asp?id<%=(Recordset1.Fields.Item("iddir_dir").Value)%>'[!]}[/!]">
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<select onchange="document.location='[!][URL unfurl="true"]http://www.google.com[/URL][/!]'">