Abstract
The most important aspect to unobtrusive DOM scripting is the use of dynamically bound events. The ultimate goal of writing usable JavaScript code is to have a web page that will work for the users, no matter what browser they’re using or what platform they’re on. To accomplish this, you set a goal of the features that you want to use, and exclude any browsers that do not support them. For the unsupported browsers, you then give them a functional, albeit less interactive, version of the site. The benefits to writing JavaScript and HTML interactions in this manner include cleaner code, more accessible web pages, and better user interactions. All of this is accomplished by using DOM events to improve the interaction that occurs in web applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 John Resig
About this chapter
Cite this chapter
(2006). Events. In: Pro JavaScript™ Techniques. Apress. https://doi.org/10.1007/978-1-4302-0283-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0283-7_6
Publisher Name: Apress
Print ISBN: 978-1-59059-727-9
Online ISBN: 978-1-4302-0283-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books