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 hello
from the alert. Why?
<div class="close">
Click here
</div>
JS:
$(document).on('click', '.close', function() {
alert('hello');
});
Example here: https://jsfiddle.net/27ezjrqr/5/