Need help understanding code
<p>hi all i am new in jquery</p>

<p>this code in book jQuery in action page 219</p>

<p>why he use <code>.end()</code> method </p>

<p>and thanks :)</p>

<pre><code>(function($){
$.fn.setReadOnly = function(readonly) {
return this.filter('input:text')
.attr('readOnly',readonly)
.css('opacity', readonly ? 0.5 : 1.0)
.end();
};
})(jQuery);
</code></pre>
