Skip to content

Instantly share code, notes, and snippets.

@QuestionDevelopment
Created August 23, 2013 19:59
Show Gist options
  • Save QuestionDevelopment/6323365 to your computer and use it in GitHub Desktop.
Save QuestionDevelopment/6323365 to your computer and use it in GitHub Desktop.
<select
onchange="if(!options[selectedIndex].defaultSelected)
location='http://www.URL.com/page.asp?value='+options[selectedIndex].value">
<option value="1">option 1</option>
<option value="2">option 2</option>
<option value="3">option 3</option>
<option value="4" selected="selected">option 4</option>
<option value="5">option 5</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment