Geeth
Geeth

Reputation: 5343

How to enable html elements

I am using the following code to disable the anchor tag.Can anyone tell me how to enable it using jquery.

Code:

  $("#rightt").attr("disabled", "disabled");

Geetha

Upvotes: 0

Views: 66

Answers (1)

T.J. Crowder
T.J. Crowder

Reputation: 1074555

You remove the attribute:

$("#rightt").removeAttr("disabled");

Upvotes: 3

Related Questions