title: Jquery button click event binding issue
body: <p>I am having problems with my jQuery Mobile button and I don't know how to solve it.</p>
  
  <p>I am trying to bind a click event to it. During the click event my current page should change to an another page.</p>
  
  <p>Event is bound on this buton :</p>
  
  <pre><code>&lt;a id="test" data-role="button"&gt;Test&lt;/a&gt;
  </code></pre>
  
  <p>using this javascript code:</p>
  
  <pre><code>$(document).ready(function() {
      $('#test').on('click', function() {
          alert('Click!')
      });
  });
  </code></pre>
  
  <p>This code used to work in the beginning but as my site grew larger it just stopped working all together. </p>
  
  <p>One more question, as this is my first question here how can make it better? From my past experience surfing through this site I found a lot of unanswered questions.</p>