I wanted to know what is the easiest HTML element. Have a huge JSON dataset that I have to display in a readable format, therefore iterate over the data and create dynamic elements. This is the lightest HTML element, the lightest, which takes up the least amount of memory and is easily displayed by the browser, etc.
EDIT : will use Mootools, so don't worry about the creation part. Will use ordinary. This is what I'm going to do.
objJson.each(function(j, jCounter)
{
var elm = new Element('', {'html' : j.value}).injectInside($(document.body));
});
Tell me, which new item is best to create?
source
share