Using mousedown event on mobile without jQuery mobile?
You’re looking for touchstart and touchend. They are the events that vmousedown and vmouseup attempt to mimic. Here’s an example: window.onload = function() { //preload mouse down image here via Image() $(“#button_img”).bind(‘touchstart’, function(){ $(“#button_img”).attr(“src”,”button_on.png”); }).bind(‘touchend’, function(){ $(“#button_img”).attr(“src”,”button_off.png”); }); } This will work without any framework on any device that supports touch events. You could use … Read more