This is a Boolean value that indicates whether the <OPTION> tag in the HTML document source has the SELECTED HTML tag attribute present or not. Only one of the <OPTION> tags in a <SELECT> block should have the SELECTED attribute, unless multiple sections are allowed.
You can refer to this value in the form checking script to see if the value of the select block has been changed since the page was loaded.
Prev | Home | Next |
Option() | Up | Option.index |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |