Method: Event.preventDefault()

Availability

BlackBerry® Device Software version 4.6 or later

The preventDefault() method cancels the event, preventing the default action from occurring.

Calling this method for an event whose cancelable property is set to false will have no effect.

Syntax

Event.preventDefault()

Parameters

None.

Return values

None.

Exceptions

None.


Was this information helpful? Send us your comments.