February 2007
Intermediate to advanced
216 pages
4h 1m
English
As you write more Ajax applications, you will confront many of the same issues over and over again. Every time you solve a general problem, it'll be helpful to put that piece of JavaScript to one side so you can reuse it later. It makes sense to abstract your code into reusable pieces—that's what I did with the Hijax object. Eventually you will have a handy collection of code at your fingertips.
Here are just some of the issues that you may come across while building up your own personal library of reusable code.
I've been using straightforward event handlers like onclick and onsubmit. These work in all browsers, but they have a major drawback: you ...
Read now
Unlock full access