#1210 new
Yaffle

custom events IE 9

Reported by Yaffle | February 8th, 2011 @ 08:20 AM

IE 9 support
createEvent method, but not support eventType === 'HTMLEvents', used by Event.fire

http://msdn.microsoft.com/en-us/library/ff975304(VS.85).aspx

Event.fire:



if (document.createEvent) {
  event = document.createEvent('HTMLEvents');
  event.initEvent('dataavailable', bubble, true);
} else {
  event = document.createEventObject();
  event.eventType = bubble ? 'ondataavailable' : 'onlosecapture';
}



No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Pages