JavaScript Object:  Option

Properties & Methods Functionality Test Data Test Case
defaultSelected Checks initial selection state of the option. boolean. opt002.html

opt003.html

selected Checks current selection state of the option. boolean.  opt004.html

opt005.html

text Checks text for the option. Regular Characters.  opt006.html
value Checks value of the option that is returned to the server when option is selected and the form is submitted. Regular Characters.  hid004.html
length Checks length of options array. Integer.  opt001.html