title: Jquery Selector - Multiple Items
body: <p>Say I have two jquery selections:</p>
  
  <pre><code>var txtA = $('#txtA');
  var txtB = $('#txtB');
  </code></pre>
  
  <p>In order to attach the same event function, is this the neatest way, or am I missing an obvious piece of syntax or jquery wizardness?</p>
  
  <pre><code>$(jQuery.merge(txtA , txtB )).click(function () { alert('hello'); });
  </code></pre>
  
  <p>Thanks.</p>