I was surprised to see that the disabled attribute for the button is ignored on the mobile version of the site. How to disable the button for touchstart / touchend events? <button ontouchend="alert();" disabled="disabled" style="touch-event: none">Test for touch</button>show alert() after touch and ignoring disabled attribute. I tried to apply touch-event: nonein style - nothing happened
UPD. Here is some code - its workable but it not fine for simple use
$("button").on("touchend", function()
{
if($(this).is(":disabled") == false)
alert(1)
});