The result of this method will be a reference to the Element object under the x,y point.
The document is inspected and the browser works out the topmost Element object at the indicated x,y location. That Element object is then returned as the result. This is very much like executing a mouse click at a location in the document window, and then extracting the target Element object from the event object. However this is far simpler.
See also: | Document object |
Prev | Home | Next |
Document.domain | Up | Document.embeds[] |
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. |