properties - Setting of "Disabled" Property in jQuery Not Working for Touch Event -
for example, piece of jquery code:
$("#my_button").prop("disabled", true);
the code can prevent button responding mouse click events correctly. button continues responding touch events on mobile devices regardless of setting of "disabled" property.
so i'm wondering if there way disable button or other elements preventing them responding user interactions. many thanks!
you may .unbind()
events listeners
Comments
Post a Comment