title: Use JQuery-click() on IPad
body: <p>that seems tricky. My IPad freezes and it seems that this line of code is responsible for that:</p>
  
  <pre><code>jQuery('#form_showAllUserHints').click();
  </code></pre>
  
  <p>The HTML related to the event is here: </p>
  
  <pre><code>&lt;input id="form_showAllUserHints" class="hidden" type="button" value="showUserHints" onclick="A4J.AJAX.Submit('form',event,{'oncomplete':function(request,event,data){prepareHintMessages();},'similarityGroupingId':'form_showAllUserHints','parameters':{'userPrefActionParamShow':'NEW_PATIENT_HINT','form_showAllUserHints':'form_showAllUserHints'} } );return false;" name="form_showAllUserHints"&gt;
  </code></pre>
  
  <p>As you can see JavaServerFaces-generated Ajax-JavaScript-Code should get triggered from a JQuery-click()-Action. How can I handle this on an IPad, I read that IPads do not like click()-JQuery-Action?</p>
  
  <p>There were somewhat similar situations and I tried to go for an IPad-only way like this
  (I guess there is no jQuery-touchstart()-function, I just want to show my plan to solve this problem): </p>
  
  <pre><code>function clickShowAllUserHintsButton(){
  var isiPad = navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i);
  if (isiPad) {
      jQuery('#form_showAllUserHints').touchstart();// IPad-Bug: jQuery()-click geht nicht: http://www.mitch-solutions.com/blog/17-ipad-jquery-live-click-events-not-working
  } else {
      jQuery('#form_showAllUserHints').click();// IPad-Bug: jQuery()-click geht nicht: http://www.mitch-solutions.com/blog/17-ipad-jquery-live-click-events-not-working
  }
  }
  </code></pre>
  
  <p>Thanks in advance.</p>