YUI3: How to get an Item from YUI object
Jun 6th, 2012
Get an item from YUI3 object using this syntax:
obj.item(num)
Ex1:
for(var i=0, len=yuiObj.size(); i
}
Ex2: Or using each method:
yuiObj.each(function(ele, idx) {
// this and ele represent the same thing
this.on('click', evenHandler);
// or
ele.on('click', eventHandler);
});
