Parse HTML to JSON and vice-and-versa
JavaScript
Pull request Compare This branch is 1 commit ahead, 88 commits behind henriquegogo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tests
.gitignore
README.md
index.html
jquery-1.7.1.min.js
jquery-domo.js

README.md

DOM object

How to use?

DOM to object

$('body').domo()

Object to DOM

$('body').domo(json)

Or...

Simple change/access window.body object Ex: console.log(body);

Want to use in console?

var scriptJquery = document.createElement("script");
scriptJquery.src = "https://raw.github.com/henriquegogo/domo/master/jquery-1.7.1.min.js";
document.body.appendChild(scriptJquery);
setTimeout(function() {
  var scriptDomo = document.createElement("script");
  scriptDomo.src = "https://raw.github.com/henriquegogo/domo/master/jquery-domo.js";
  document.body.appendChild(scriptDomo);
}, 100);