jQuery on click not working on iPhone (touch devices)
<p>Can anyone please explain to me why this is working in the browser but not on mobile devices like Apple's iPhone. On iPhone, I never get the <code>hello</code> from the alert. Why?</p>

<pre><code>&lt;div class="close"&gt;
  Click here
&lt;/div&gt;
</code></pre>

<p><strong>JS:</strong></p>

<pre><code>$(document).on('click', '.close', function() {
  alert('hello');
});
</code></pre>

<p>Example here: <a href="https://jsfiddle.net/27ezjrqr/5/" rel="nofollow noreferrer">https://jsfiddle.net/27ezjrqr/5/</a></p>