0
我使用jQuery触摸移动使用,因此用户可以悬停星级。它工作正常,但点击功能由于某种原因被禁用。jQuery可触摸(移动)禁用点击功能
你知道是什么原因造成的吗?或者如何解决它?
我的代码:
t2=$('.star').Hoverable();
$t2.newHover2(function(e, touch){ //hoverIN
$(this).addClass("star-rating-hover");
}, function(e, touch){//hoverOut
$(this).removeClass("star-rating-hover");
});
插件:http://plugins.jquery.com/project/Touchable
预先感谢您。