JQuery event for mobile and mouse

I want that when I move the mouse on the label, I warn ("something"), I tried a lot of functions, but always the warning only fires when I click on the label, not when I just move it to the label !! I tried:

$("#show").mouseover(function(){
   alert("something");
});

      


$("#show").mouseenter(function(){
   alert("something");
});

      


$("#show").live('vmouseover', function() {
   alert("something");
});

      


$("#show").hover(
  function () {
     alert("something");
});

      

+3


source to share


1 answer


You want to watch mobile specific virtual events that jQuery-Mobile provides. Their descriptions can be found here:

http://jquerymobile.com/demos/1.1.0-rc.1/docs/api/events.html



Specifically, you are asking for mouseover:

$("#show").vmouseover(function(){
   alert("something");
});

      

+1


source







All Articles