Objects are identified either by the NAME tag attribute or by the ID tag attribute. MSIE seems slightly better disposed towards the ID attribute than earlier versions of Netscape. However, in many cases, both browsers support either technique and in some cases will locate items named with either attribute as if they existed in a single namespace. Version 6.0 of Netscape may restore parity with MSIE in this respect.
See also: | Input.name |
Prev | Home | Next |
BUTTON.alt | Up | BUTTON.type |
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. |