bloqhead
4/29/2014 - 7:34 PM

Add hover on touch for mobile devices using jQuery

Add hover on touch for mobile devices using jQuery

$("a").live("touchstart", function(e) {
  $(this).trigger("hover");
});
 
$("a").live("touchend", function(e) {
  $(this).trigger("blur");
});