
尝试处理除一个节点以外的所有节点上的“ mousewheel”事件
$('body').on({ 'mousewheel': function(e) { if (e.target.id == 'el') return; e.preventDefault(); e.stopPropagation(); }})欢迎分享,转载请注明来源:内存溢出

尝试处理除一个节点以外的所有节点上的“ mousewheel”事件
$('body').on({ 'mousewheel': function(e) { if (e.target.id == 'el') return; e.preventDefault(); e.stopPropagation(); }})欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)