All attr() vs prop()

CSS Class, Attribute, Property and jQuery

In this short post, I will show you how to add/remove attributes or properties to DOM elements and how to add/remove CSS classes from DOM elements using jQuery. Also, how attribute and properties are different in jQuery. Before jQuery 1.6 there was no concept of property. Everything was treated as attributes. But now you must […]
Read the rest of this entry »

Responsive Menu
Add more content here...