Bug Tracker

Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#425 closed bug (fixed)

Fake event wont work on IE

Reported by: joern Owned by:
Priority: major Milestone: 1.1a
Component: event Version: 1.1a
Keywords: Cc:
Blocked by: Blocking:

Description

Reported by Olivier Meunier:

I wrote a plugin with fake event "tabload" which is called when a tab
content is loaded (a tab is a div, nothing more).

I got this :

jQuery.fn.tabload = function(f) {
	return f ? this.bind('tabload', f) : this.trigger('tabload');
};

the trigger is jQuery(element).tabload();

Register an event take the form :

$('#tab1').tabload(function() {
  alert('tab1');
});

It works fine with firefox and opera but (surprise!) not with IE.

I even tried this only code :

$('#tab3').bind('foo',function() { alert('foo'); });
$('#tab3').trigger('foo');

It works in FF, Opera and not IE.

Is there any to handle fake events in IE ?

Change History (2)

comment:1 Changed 17 years ago by joern

This should be solved by now in latest SVN.

comment:2 Changed 17 years ago by john

Resolution: fixed
Status: newclosed
Version: 1.1
Note: See TracTickets for help on using tickets.