title: javascript alert freezing iOS Browsers
body: <p>I'm facing some strange bug while developing a webapp in jquery-mobile.
  When I prompt an alert, if i touch some input of the page, iOS Safari &amp; Chrome gets totally freezed and I only can close them with the Task Manager.</p>
  
  <p>I'm very confused if it's apple fault or it's mine.</p>
  
  <p>Some piece of code:</p>
  
  <pre><code>$('.checkout-comprar-button').click(function(){                 
    alert("hola!!!");
  });
  </code></pre>
  
  <p>This is the div of the event:</p>
  
  <pre><code>&lt;div class="grp-bottombar-button checkout-comprar-button" style="width: 50% !important; float: right !important; display: block !important; padding-top: 12px;"&gt;
          &lt;span class="green-desplegable grp-bottombar-button-text"&gt;
               &lt;? echo _("checkoutcreditcard.seguircompra"); ?&gt;
          &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And this is one of the inputs:</p>
  
  <pre><code>&lt;div class="checkout-datos-numero checkout-first-form checkout-form-field-container"&gt;
     &lt;div class="checkout-field"&gt;
        &lt;input type="tel" placeholder="&lt;? echo _('creditcard.numero'); ?&gt;" name="" id="checkout-num-tarjeta" maxlength="30" /&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After the alert is shown, if I want to focus some of the inputs, the browser freezes.
  When I force close Safari, this is the message that console gave me:</p>
  
  <pre><code>&lt;Warning&gt;: MobileSafari[2985] has active assertions beyond permitted time: 
      {(
          &lt;BKProcessAssertion: 0x1e857480&gt; identifier: Suspending process: MobileSafari[2985] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:26 preventSuspend  preventThrottleDownCPU  preventThrottleDownUI 
      )}
  &lt;Warning&gt;: Forcing crash report of MobileSafari[2985]...
  </code></pre>
  
  <p>Any help?
  Thank you</p>