Main Content

Attributes and Properties in jQuery

About the Talk

October 1, 2011 7:00 AM

Boston, MA, USA

Boston, MA, USA

jQuery 1.6 came with a rewrite of the .attr() method and the introduction of the .prop() method. This came with a significant performance benefit and changed the way attributes and properties are treated internally in jQuery. Most of all, it gives the user a chance to finally differentiate between the two. In my talk, I plan to expound on the difference between attributes and properties and the advantages of working with both. I'll focus mainly on a discussion of HTML vs the DOM and how interacting with one can be more beneficial than another in certain use cases.

Ratings and Recommendations

Avg. Rating

Average based
on 30 ratings

comments powered by Disqus