Is there special purpose for using .each() ??
Is there special purpose for using .each() ??
we can also use this....
$( "li" ).addClass( "foo" );
**so why to use this **
$( "li" ).each(function() {
$( this ).addClass( "foo" );
});
Topic Participants
amanads007
jay.blanchard
mojo_jar
jakecigar