How apply custom jQuery functions to selectors that match > 1 elements
<p>I have several textboxes that I want to apply a custom jquery function:</p>

<pre><code>jQuery.fn.setReadOnly = function () {
    var o = $(this[0]);
    o.prop('readonly', true)
    .css('background-color', '#F0F0F0');
};
</code></pre>

<p>Now I need to do:</p>

<pre><code>$('#txt1').setReadOnly();
$('#txt2').setReadOnly();
$('#txt3').setReadOnly();
$('#txt4').setReadOnly();
$('#txt5').setReadOnly();
</code></pre>

<p>I want to achieve the following:</p>

<pre><code>$('#txt1, #txt2, #txt3, #txt4, #txt5').setReadOnly();
</code></pre>

<p>Thank you.</p>
