title: How to make my 'click' function work with iOS
body: <p>I have a set of Div's which act as buttons. These buttons have a simple jquery click() function which works in all browsers except iOS.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;div class="button"&gt;click me&lt;/div&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$('.button').click(function(){
  
     alert('hi');
  
  });
  </code></pre>
  
  <p>I'm not sure why this doesn't work on iOS - clearly there is no 'clicking' in iOS. </p>
  
  <p>Unfortunately I don't have an iphone device to test this myself, but I'm getting a lot of complaints from my clients who want to click things and nothing is happening.</p>
  
  <p>What is the key to getting this working?</p>