GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Saturday, February 5, 2011
Counting Element
each function in jQuery used for count and iterate the whole object. Like this one:
(function($){
$.fn.howMany = function(){
var a = 0;
this.each(function(){
a = a + 1;
});
return a;
};
})(jQuery);
Counting Element
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment