$(document).on("click", ".bbb", function() { alert("111");}); iphone上不支持该click事件,因为系统判断它是touch事件
解决办法
一:修改Css样式 .bbb{ cursor:pointer; }
二将click改为touchstart事件 $(document).on(“touchstart”, “.bbb”, function() { document.weitrln('11'); }); 页面所在本站地址: http://www.52-life.net/N_iphone_click.htm |