How to make control enabled using JQuery?

Options :
  1. attr(''disabled'', true);
  2. attr(''enabled'', true);
  3. attr(''enabled'', false);
  4. removeAttr(''disabled'');
Answer and Explanation :-

Answer: Option 4

Explanation:

By default all the control will be enabled. But if you would like to control enable you can use removeAttr('disabled') to make control enabled foe eg. $('#myControl').removeAttr('disabled');

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough



Next Question : How to select an element using JQuery?

Click here for online test on JQuery

Responses


 (Getemail alerts when others member replies)

More available Categories:-








To my mind there is nothing so beautiful or so provocative as a secondhand book store...To me it is astonishing and miraculous to think that any one of us can poke among the stalls for something to read overnight--and that this something may be the sum of a lifetime of sweat, tears, and genius that some poor, struggling, blessed fellow expended trying to teach us the truth.
-Lionel Barrymore