Skip to content

raszi/jquery-jsonml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JsonML extension to jQuery library

This script extends the jQuery library with ability to create DOM tree from JsonML array format.

Usage

$.jsonml(JSON.parse('["span", { "class" : "code-example-third" }, "Third"]')).appendTo(document.body);

You can also use this method to create DOM tree in a different document:

$.jsonml(JSON.parse('["span", { "style" : "background-color:maroon" }, "\u00A9"]', otherDoc)).appendTo(otherDoc.body);

About

JsonML extension to jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published