handleEvent()

This method is used to tell the element to accept and process the event defined as the value of the method. The event must be valid for that object.

syntax:

handleEvent(event)

This method is used with the following:

FORM
TEXTAREA
button
checkbox
document
fileUpload
layer
password
radio
reset
submit
text
window