Option items have a textual value enclosed between the opening and closing tags. This is a means of accessing that text without needing to resort to complex innerText or innerHTML tricks.
Prev | Home | Next |
Option.selected | Up | Option.value |
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. |