select Option based on value
Hi, I would like to select the value of select option dynamically using jquery. I am calling service to get country name, based on country name, i need to set that country as selected. I will get country in full name from service( like "Canada") and not in two letters.
<select>
<option value="US" text="United states" />
<option value="CA" text="Canada"/>
<option value="Mx" text="Mexico" />
</select>
Could anyone help me on this?