Dropdownlist SET Value using
by Nigam Shah
HTML
<select id="myselection">
<option value="1">First</option>
<option value="2">Second</option>
</select>
JavaScript
$("#myselection > option").each(function(index) {
if(this.text == 'Second')
{
alert(this.text);
$('#myselection').val(this.value)
}
});