O'Reilly logo

Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites by Gigi Sayfan, Kevin Dangoor, Mark Ramm

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15.2.3. Using MochiKit’s Cross-Browser Event Objects

Over the years, browsers have become more standards compliant and just overall more compatible. However, there are still a number of areas in which you’re likely to get bitten by compatibility issues. Events are one of those areas. If you’re writing code that takes in a browser event object, you’ll likely want to refer to Peter-Paul Koch’s quirksmode.org site, which offers JavaScript Event Compatibility tables. Those tables are invaluable at figuring out which parts of the event object will tell you what you need to know for each browser.

Lucky for us, however, when you are using MochiKit.Signal, you’re not using a browser event object. You’re getting MochiKit’s own ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required