I have a HTML select like this:
<select>
    <option>a</option>
    <option>b</option>
    <option>c</option>
</select>
and I have a variable named temp in my JavaScript:  
var temp = "a";
Now I want to set the value of the option that is equal to temp as default value for my select.
How can I do it?
 
     
     
     
     
     
     
     
     
    