Javascript Reference
Categories: event

javascript event target

@Aug. 15, 2009, 12:11 p.m.
target Firefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM 2

 

Read-only

Refers to the node object that is the intended destination of the current event. Unlike the corresponding IE srcElement property, the target property in Netscape 6 can refer to a text node, even if the event handler is defined for the element that surrounds the text node. Your event processing for such a scenario must take the nodeType into account to equalize the reference to the surrounding element for both IE and Navigator. 

 
Example
 
var elem = (evt.target) ? evt.target : evt.srcElement;
 
Value

Node object reference.

 
Default

None.

lipitor uk <a href="https://lipiws.top/">buy atorvastatin 20mg online</a> buy atorvastatin 20mg for sale
Myyiqh - 10 months
order lipitor 10mg pill <a href="https://lipiws.top/">buy lipitor 20mg without prescription</a> buy atorvastatin 20mg online cheap
Cwclja - 10 months

Powered by Linode.