2013年4月12日 星期五

Iterating Through Nodes

.each(function(index, Element)) is used to iterate through jQuery objects

image

Same as following: this = elem

image

 

Demo Example:

image

This is even better:

image

沒有留言:

張貼留言