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

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -