O'Reilly logo

jQuery and jQuery UI: Visual QuickStart Guide by Jay Blanchard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. Getting and Setting DOM Attributes

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required