ontouchstart and ontouchend in jquery?
I ended up just using this:
$('#nav li').bind('touchstart', function(){
$(this).addClass('select');
}).bind('touchend', function(){
$(this).removeClass('select');
});
Without JQUERY :
element.addEventListener('touchstart',function(e) {
e.currentTarget.className = "select";
});
With JQUERY
$('#nav ul li a').on('touchstart', function(){
$(this).addClass('select');
});
Actually, on() get better performance than bind(), check documentation