Some of the tutorials and examples I have seen for developing jQuery plugins tend to return
this.each(function () { //Plugin code here });
When you filter elements with a selector ($('.myclass')), it can match more than only one element. With each, you iterate over all matched elements and your code is applied to all of them.
$('.myclass')
each