jQuery("#click_me:button").attr("disabled", "disabled");
and to re-enable
jQuery("#click_me:button").removeAttr("disabled");
On Mon, Mar 30, 2009 at 11:44, Thierry <lamthierry@gmail.com> wrote:
I can disable button with specific id with the following code:
jQuery("#click_me:button").attr("disabled", "true");
If I want to re-enable the button, the following doesn't work:
jQuery("#click_me:button").attr("disabled", "false");
Does anyone know what I'm missing?
No comments:
Post a Comment