//监听事件,使手机屏幕不能滑动
var handle = function(){
event.preventDefault();
}
$('.obj').click(function(){
document.body.addEventListener('touchmove',handle,false);
});
//解除绑定事件
document.body.removeEventListener('touchmove',handle,false);
var handle = function(){
event.preventDefault();
}
$('.obj').click(function(){
document.body.addEventListener('touchmove',handle,false);
});
//解除绑定事件
document.body.removeEventListener('touchmove',handle,false);