now i have the following code:
<form class="demo">
<select>
<option selected>Selecione sua cidade</option>
<option value='JP'>João Pessoa - PB</option>
<option value='outros'>Outros</option>
</select>
</form>
What i need:
When visitor click on dropdown menu and select a option , they go to http://www.example.com Each option will go to different adress.
Value='JP' goes to example.com
Value='outros' goes to example2.com
Thanks!
EDIT: I'm using this
<script>
$('.demo select').change(function(){
window.location.href="http://www.example.com";
});
</script>
</head>
But still not working, and how to use to open different links:
Select option 1 = www.example1.com
Select option 2 = www.example2.com