Safari under iOS is so proud, it's a lot of pits.
First on the code
<!DOCTYPE HTML><HTML><Head> <title>122</title> <Metaname= "Viewport"content= "Width=device-width, initial-scale=1.0, minimum-scale=1.0, Maximum-scale=1.0,user-scalable=no"></Head><Body><Div>ADFAFASDFASDFASDFASFDASDF<BR/>ADFAFASDFASDFASDFASFDASDF<BR/>Adfafasdfasdfasdfasfdasdf<BR/>ADFAFASDFASDFASDFASFDASDF<BR/>ADFAFASDFASDFASDFASFDASDF<BR/>Adfafasdfasdfasdfasfdasdf<BR/>Adfafasdfasdfasdfasfdasdf<BR/>ADFAFASDFASDFASDFASFDASDF<BR/>Adfafasdfasdfasdfasfdasdf<BR/>Adfafasdfasdfasdfasfdasdf<BR/></Div><Div> <imgsrc= "__img__/indexbanner.png"alt=""/></Div><Scriptsrc= "__js__/jquery-1.11.1.min.js"></Script><Script> $(function(){ $('Body'). On ("Click", function(e) {alert ("Click"); }); })</Script></Body></HTML>
Question: Do you click on the text and click on the image will pop up "click"?
Hehe hehe, the result is only the second IMG Click can trigger the click correctly, click the text in the div completely no effect.
The workaround is to bind to the "Touchend" event ...
This bug can only be seen in iOS Safari, desktop, Android, Apple is really proud of it.
PS: Mobile-click Processing or try to use touch-class events. Click the pit too much.
Safari cannot trigger click event Processing under iOS