Mar 09, 2011, 3:07 PM
[CLOSED] JQuery to enable control
Hi Guys,
I am trying to use JQuery to enable or disable a LinkButton control on a form. But it is not working, you guys have any idea what I might be doing incorrectly below. it run the command successfully but the link state is not changing.
I am trying to use JQuery to enable or disable a LinkButton control on a form. But it is not working, you guys have any idea what I might be doing incorrectly below. it run the command successfully but the link state is not changing.
if (value) {
jQuery('#ForgotPassword').attr('disabled', 'true');
}
else {
jQuery('#ForgotPassword').removeAttr('disabled');
}
Last edited by Daniil; Mar 15, 2011 at 7:25 AM.
Reason: [CLOSED]