Skip to main content

Bug Tracker

Side navigation

#425 closed bug (fixed)

Opened November 21, 2006 10:26PM UTC

Closed November 24, 2006 03:19PM UTC

Last modified June 19, 2007 07:00AM UTC

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 ?
Attachments (0)
Change History (2)

Changed November 22, 2006 08:52AM UTC by joern comment:1

This should be solved by now in latest SVN.

Changed November 24, 2006 03:19PM UTC by john comment:2

resolution: → fixed
status: newclosed
version: → 1.1