title: simple way rather than to call a function repeatedly in javascript
body: <p>I have a function and some input element(s) will use that for a purpose.
  i tried to make an array of them and pass to that function, but failed.</p>
  
  <pre><code>$("#txtFirst").change(function(){validateForm($(this));});
  $("#txtLast").change(function(){validateForm($(this));});
  $("#txtNick").change(function(){validateForm($(this));});
  </code></pre>
  
  <p>how to make it more simple, rather than use same format repeatedly?</p>