Created
July 18, 2013 07:06
-
-
Save kikegarcia/6027272 to your computer and use it in GitHub Desktop.
onchange select
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="styled-select"> | |
<select id="selectmodifier" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"> | |
<option value="" selected="selected" enabled='false'>BUSCA TU ARTISTA</option> | |
<!-- START videoselect --> | |
<option value="/video/{urlname}">{name}</option> | |
<!-- END videoselect --> | |
</select> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment