title: How to click a button based on ref attribute?
body: <p>Using jquery can click based on class and id attributes but can click be invoked based on ref attribute ?</p>
  
  <p>I've based below code on <code>ref="btFirst"</code>, but unsure how to access <code>ref</code>.</p>
  
  <p><a href="http://jsfiddle.net/5DfUy/297/" rel="nofollow noreferrer">JSFiddle</a> src: </p>
  
  <pre><code>&lt;button class="ag-paging-button" onclick="alert('Hello world!')" ref="btFirst" data-vivaldi-spatnav-clickable="1"&gt;First&lt;/button&gt;
  
  $( ".btFirst" ).click(function() {
    alert( "Handler for .click() called." );
  });
  </code></pre>