github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-metadata

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 33
    • 4
  • Source
  • Commits
  • Network (4)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

A jQuery plugin for extracting metadata from DOM elements. — Read more

  Cancel

http://plugins.jquery.com/project/metadata

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Moving over from the jQuery SVN repository. 
jeresig (author)
Sat Jul 25 09:49:50 -0700 2009
commit  0dbb5ec89ce8f493e33b83433b03d6feaec867fc
tree    6598d09408efef37bb9f1d72ad85425f79af97fa
jquery-metadata /
name age
history
message
file META.json Sat Jul 25 09:49:50 -0700 2009 Moving over from the jQuery SVN repository. [jeresig]
file README Sat Jul 25 09:49:50 -0700 2009 Moving over from the jQuery SVN repository. [jeresig]
file jquery.metadata.js Sat Jul 25 09:49:50 -0700 2009 Moving over from the jQuery SVN repository. [jeresig]
directory test/ Sat Jul 25 09:49:50 -0700 2009 Moving over from the jQuery SVN repository. [jeresig]
README
jQuery Metadata Plugin

By John Resig

This plugin is capable of silently, and automatically, extracting metadata 
from classes, random attributes, and child elements.

For example, you can do:
<li class="someclass {some: 'data'} anotherclass">...</li>
OR
<li data="{some:'random', json: 'data'}">...</li>
OR
<li><script type="data">{some:"json",data:true}</script> ...</li>

The default is the first method, but you can always change it by twiddling 
the options. This means that there is at least one option here that can 
appease you.

There's also a bunch of options (like loading data into a single property 
and the ability to ignore braces {}).
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server