This property is tainted by default. For information on data tainting, see the Client-Side JavaScript Guide . You can set the selected property at any time. The display of the associated Select object updates immediately when you set the selected property for one of its options. With the Option.selected property, you can evaluate every option in the Select.options array to determine multiple selections, and you can select individual options without clearing the selection of other options.
Examples See the examples for defaultSelected .
A string specifying the text of an option in a selection list. The text property can be changed to updated the selection option. In previous releases, you could set the text property but the new value was not reflected in the Select object. Security JavaScript 1.1. This property is tainted by default.