Possible Duplicate:
jQuery each this
I have a loop that iterates over every element of a certain class:
$(".myclass").each(function(i) {
});
I'm trying to get children of that element with this.find("tag")
, but it gives me an error. Inside that loop, what, does this
refer to? What about $(this)
?