title: Call the button click event based on name property
body: <p>I have one <strong>HTML button</strong> like,</p>
  <pre><code>&lt;input type=&quot;button&quot; id=&quot;btnSubmit&quot; name=&quot;btnName&quot; class=&quot;btnclass&quot; value=&quot;Click Me&quot; /&gt;
  </code></pre>
  <p>I want to call <strong>jQuery button click</strong> event based on <code>id</code> property means,
  we use the code like,</p>
  <pre><code>$(&quot;#btnSubmit&quot;).click(function(){ 
      ////////
  });
  </code></pre>
  <p>as well as call <strong>button click</strong> event based on <code>class</code> property means,
  we use the code like,</p>
  <pre><code>$(&quot;.btnclass&quot;).click(function(){
      /////////
  });
  </code></pre>
  <p>and my question is, I want to call the <strong>button click</strong> event based on <code>name</code> property means, How to do this?</p>