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








Stories never really end...even if the books like to pretend they do. Stories always go on. They don't end on the last page, any more than they begin on the first page.
-Cornelia Funke Inkspell