I have some webpage with following code to bind click events
<script type="text/javascript">
$(".groupLbl").live("click", function(e) {
var $target = $(e.currentTarget);
.....
$.getJSON("/somelink.json", params, function(data) {
if(data.success) {
//success handler
} else {
//fail handler
}
});
});
</script>
Works fine on PC browsers but doesn't work on iPad safari & chrome. I have other live events and they work fine on iPad. This page is part of popup so I wonder if this could be a problem?
known feature/issue on Ipad
first click is considered as activating/hovering an element: http://www.danwellman.co.uk/fixing-jquery-click-events-for-the-ipad/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.