title: Pass multiple element from inline onclick javascript function
body: <p>Is it possible to send multiple element from inline javascript onclick function  for example like this i tried but got undefined </p>
  
  <pre><code>&lt;input type='text' id='elem1'/&gt;
  &lt;input type='text' id='elem2'/&gt;
      &lt;a onclick="functionName($('#elem1').val(),$('#elem2').val())"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>?</p>