|
|
event.initEvent - DOM
|
Views : 508
|
|
Tagged in : DOM
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
The initEvent method is used to initialize the value of an event created using document.createEvent.
Syntax
event.initEvent(type, bubbles, cancelable);
Example
// create a click event that bubbles up and
// cannot be canceled
event.initEvent("click", true, false);
|
|
By Rekha, On - 2009-12-09 |
|
|
|