Does
$('#myElem').attr('disabled',true);
on a disabled element trigger any event listener associated to it? (change(),click() or whatever)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is what
disableddoes http://www.w3.org/TR/html401/interact/forms.html#h-17.12.1It will not trigger any events. It’s more of a functionality thing where it will not allow a user interact with an element nor will it send the value of the field on submit if it’s inside a form.