You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"To start the primary functionality provided by the jQuery Metadata plugin has been moved into core. HTML 5 data- attributes will be automatically pulled in to jQuery’s data object."
The text was updated successfully, but these errors were encountered:
The jQuery data() function has now added the metadata() plugin functionality to it. However, it only uses the html5 data attribute, 'data-[arbitrary name of attribute]'. Before to call the metadata $(element).metadata('data-[arbitrary-name-of-attribute]) was used, now in jQuery 1.4.3 it's simple $(element).data('[arbitrary-name-of-attribute]'). I forked jMapping and changed the code accordingly. Not that it really matter.
Although it is nice to be able to include the data in a class attribute, the data() method for html5 data- attribute is included in jQuery core now. http://blog.jquery.com/2010/10/16/jquery-143-released/
"To start the primary functionality provided by the jQuery Metadata plugin has been moved into core. HTML 5 data- attributes will be automatically pulled in to jQuery’s data object."
The text was updated successfully, but these errors were encountered: