Home > DeveloperSection > Interviews > Explain the each() function

Posted on    December-06-2012 6:52 AM

 JQuery JQuery 
Ratings:
 1 Answer(s)
  1544  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    December-06-2012 1:00 AM

$("#num").click(function(){
$("li").each(function(){
document.write($(this).text())
});
});

Don't want to miss updates? Please click the below button!

Follow MindStick