var Item = {
"tag": "div",
"html": "something html code",
"count": 10
};
var I = 0;
var Item = {
"tag": "div",
"html": "something html code",
"count": I
};
function addItemToLocalStorage() {
Item.count++;
I++;
var sItem = JSON.stringify(Item);
localStorage.setItem("State",sItem);
}