Chapter 5. Best Practices
What this chapter covers:
Backward compatibility: ensuring that older browsers don't choke on your scripts
Performance considerations: making sure that your script is performing at its best
Mistakes of the past
Before we get to the specifics of best practices for having web pages work correctly, let's take a quick look at some reasons that things can go wrong.