<select name="search" class="one">
<option value="teo" selected="">teo</option>
var s = document.querySelector('.one').options; s[s.length]= new Option('teo','teo',true);
http://qwerty.com/index.cgi?id=12345;name=winter
var url='http://qwerty.com/index.cgi?id=12345;name=winter'; alert(url.match(/[^?;]+=[^;]*/g));