Yeah but a bit dangerous.

On Dec 10, 2:33 pm, Sanford Whiteman <[email protected]>
wrote:
> > Are there an easy way to select the option by means of the value
> > stated in the option tag?
>
> Yes.   Grab  the DOM element by the markup `value` attribute, then set
> the selectedIndex = that DOM element's `index` property.
>
>    http://jsfiddle.net/Vbrbb/4/
>
> -- S.

Reply via email to