Explain the each() function

Last updated:9/20/2020 7:27:16 AM

1 Answers

AVADHESH PATEL
AVADHESH PATEL

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

Answer