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:-








The whole secret of a successful life is to find out what is one's destiny to do, and then do it.
-Henry Ford