By default, divs are not clickable elements. But adding cursor: pointer;
makes iOS treat it as clickable.
So all you have to do is add
.close { cursor: pointer; }
into your CSS and then it will work.
Proof here: https://jsfiddle.net/27ezjrqr/6/
$(document).on('click', '.close', function() { alert('hello'); });
.close { cursor: pointer; }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div class="close"> Click here </div>
Gavin source share