我希望當我將鼠標移動到標籤上時我警告(「某事」),我嘗試了很多功能,但總是隻有當我點擊標籤時纔會起作用,它在標籤上! 我曾嘗試: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