Set selected index in drop down select
Posted on 2004-04-01
I have got a dropdown select (of countries).
So, say in my dropdown list (of EVERY country) I wanted to select the United Kingdom, its value would be set to "UK" - here is a quick example.
<option value="UK">United Kingdom</option>