More information about this style of attributes can be found here: http://ejohn.org/blog/html-5-data-attributes/
Great work Yehuda! --John On Tue, Jun 23, 2009 at 3:31 PM, Yehuda Katz<wyc...@gmail.com> wrote: > I just released jQuery Metadata 2.1, which adds support for HTML5 data-*. > Usage: > <p id="one" class="some_class" data-item_id="1" data-item_label="Label">This > is a p</p>; > > $.metadata.setType("html5") > $("#one").metadata().item_id == 1; > $("#one").metadata().item_label == "Label"; > > Get it at http://plugins.jquery.com/project/metadata > -- > Yehuda Katz > Developer | Engine Yard > (ph) 718.877.1325 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---