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 ...

Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.