Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. /*
  2. Research the .each() method. Write an example of .each() that also uses the $(this) selector inside the callback function.
  3. */
  4.  
  5. $('li').each(function(index){
  6. alert($(this).text());
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement