| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

EventObject

Page history last edited by PBworks 17 years, 12 months ago


 

EventObject

(extends Object)


Object Summary

 

A cross-browser method to handle event-specific issues such as cancelling the default action.


Constructor

 

EventObject(evt)

 

parameters

evt - Reference to the event. If not given, defaults to window.event -the IE case-.


Methods

 

EventObject.cancelDefaultAction()

 

comments

Cancels the default action related to the event. For instance if the event is onclick event attached to the link, calling this method will prevent redirection to the link's HREF after the click event of the link.


EventObject.getSource()

 

returns

The source element.

 

comments

Gets the source element of the event.


EventObject.getObject()

 

returns

The event object.

 

comments

Gets the event instance.


See Also

 

EventHandler

EventModel

EventRegistry


Usage Examples

 

None given. Be the first one to add a usage example!

Comments (0)

You don't have permission to comment on this page.