3. Getting and Setting DOM Attributes
In This Chapter
Imagine being able to have access to every property and attribute of every element in your web pages. Now imagine you have total control over those properties and attributes. Would having that level of access and control make your web development life easier?
The jQuery library gives you the access and control you desire over each element’s attributes and properties. Known collectively as the DOM (Document Object Model) general attribute methods, these powerful functions allow you to get or set attributes and properties, add and remove classes, and even directly set Cascading Style Sheet ...
Get jQuery and jQuery UI: Visual QuickStart Guide 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.