Aside from the ways in which you can create custom objects with your own constructor functions, you can also create your own HTML tags to make custom document elements.
Objects are instantiated from HTML tags and assume a class name from the HTML tag names in the document. So you can invent your own tags that become objects in the document model in MSIE, and inherit some basic capabilities from the environment. Netscape version introduces this functionality at version 6.0.
See also: | Object object |
Prev | Home | Next |
User-generated object | Up | userProfile object |
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. |