How do I create a select menu, which is in the first position with the current url, changing selected
of option
:
<select >
<option value="http://www.test.com/teste1" selected>test1</option>
<option value="http://www.test.com/teste2">Google</option>
<option value="http://www.test.com/teste3">YouTube</option>
<option value="http://www.test.com/teste4">test 4</option>
</select>
Example browser url link =
'<select >
<option value="http://www.test.com/teste4" selected>test 4</option>
<option value="http://www.test.com/teste1/">test1</option>
<option value="http://www.test.com/teste2">Google</option>
<option value="http://www.test.com/teste3">YouTube</option>
</select>'