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








If your daily life seems poor, do not blame it blame yourself, tell yourself that you are not poet enough to call forth its riches for to the creator there is no poverty and no poor indifferent place.
-Rainer Maria Rilke Letters to a Young Poet