Curtis Timson

Front End & .NET Developer

Month

May 2013

Understanding jQuery data() storage

It is a common misunderstanding that .data(“key”) is simply a shortcut for .attr(“data-key”). .data() does read HTML5 data attributes, but this is only the first time it is called, as per the documentation: The data- attributes are pulled in the… Continue Reading →

© 2017 Curtis Timson — Powered by WordPress

Theme by Anders NorenUp ↑