我希望当我将鼠标移动到标签上时我警告(“某事”),我尝试了很多功能,但总是只有当我点击标签时才会起作用,它在标签上! 我曾尝试:Jquery移动和鼠标悬停事件
$("#show").mouseover(function(){
alert("something");
});
$("#show").mouseenter(function(){
alert("something");
});
$("#show").live('vmouseover', function() {
alert("something");
});
$("#show").hover(
function() {
alert("something");
});
作为@Jivings说,鼠标事件不会对手机正常工作,您正在寻找一个交替触摸事件。 – 2012-03-28 09:51:14