Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6661 closed bug (invalid)

Event firing does not work from within a Firefox plugin.

Reported by: JAM Owned by:
Priority: Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


I am unable to fire a .click() event from within a Firefox plugin. For example:


pageDoc is the document of the page which Firefox is currently on. I can fire it correctly if I use the following function:

function fireEvent(element,event) {

if (document.createEvent) {

dispatch for firefox + others var evt = document.createEvent("HTMLEvents"); evt.initEvent(event, true, true ); event type,bubbling,cancelable return !element.dispatchEvent(evt);

} else {

dispatch for IE var evt = document.createEventObject(); return element.fireEvent('on'+event,evt)



Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

The information provided isn't enough to determine whether there is a bug in jQuery core or not, but I suspect it is not. Please ask for help on the forum as a first step, and if the general consensus is that this really is a bug, reopen with a complete test case.


Note: See TracTickets for help on using tickets.