prop disabled

//jQuery 1.6+ use:
$("#inputID").prop('disabled', true); //disable
$("#inputID").prop('disabled', false); //enable

//jQuery 1.5 and below use:
$("#inputID").attr('disabled','disabled'); //disable
$("#inputID").removeAttr('disabled'); //enable

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
disabled input with jquery how to enable and disable input in jquery disable input fields jquery add disabled prop to button .prop("disabled", trues); how to set field disable in jquery prop('disabled' jquery remove disabled input jquewry disable input check input disabled jquery chaned disable input jquery disable input field using jquery jquery disable all input jquery set input as disabled disable and enable using jquery jquery disable and enable input how to remove the disabled form the input by jquery how to make input field disabled in jquery make input disable jquery jquery make input enable or disable disable enable fields jquery disabled input box jquery disable and enable input jquery input tag disabled jquery disabled to enable jquery j1query disable input jquery enable disabled field jquery input disabled attr prop(disabled true) disable a input field in jquery input disable in jquery disable input type button jquery jquery input remove disabled jquery disable all inputs jquery disable form field jquery remove disabled from all input jquery disable a textbox set disable for input by jquery disabled field jquery disable and enable jquery disable input value in jquery make input text disabled jquery how to check input field disabled in jquery jquery disable textbox jquery diable input how to remove disabled in input using jquery input type disable jquery input enable disable jquery jquery disable text input disabled input jsquery how to set input disabled in jquery disabled jquery input disabler input with jquery add disable to input field using jquery disable/enable an input with jquery disable input button in jquery disable jquery input jquery disable inputs jquery change input to disabled disable input field with jquery jquery turn input disabled jquery disable edit input set input to disabled jquery input button disabled jquery disable textbox input jquery disable text input jquery .prop('disabled', 'disabled') enabled prop disabled true js input add disabled jquery disable input text jquery enable disable input field jquery disabled input jque how to make input disabled jquery disable input with jquery input box disable in jquery disable input type jquery disable text field jquery disable typedInput jquery attr disabled enabled jquery jqquery siable element enabled to disabled in jquery textarea disable typing add disabled to button jquery css disabled false jquery enable disable element jqueryu jquey enable jquery set input disable input disable enable jquery jquery set disabled to false disabled jqury prop disable disabled true example in jquery make select disabled jquery how to disable element in jquery javascript jquery disable input disable select with jquery jquery diable element disable element jquery enable disable in jquery how to enable a disabled field in jquery jquery enable select add prop disabled jquery jquery css disabled jquery diable how to disable input in jquery jquery attr disabled enabled jquery enable disable jquery disable input text text input disabled jquery enabled or disabled in jquery disable jquery element prop disabled jquery j query disabled an input disable text field in jquery enable disable jquery jquery disabled false jquery input button disabled jquery button prop disabled disable true jquery jquery set field to disabled change attribute disabled jquery jquery disable field set disabled jquery jquery disable and undisable input how to disabled input in jquery disable element jquery css make input disabled jquery disable textfield in jquery disable input field jquery disable enable input jquery how to set the disable an element in jquery disabled attribute in jquery jquery disable form input jquery change attribute disabled disable input field in jquery how to disabled a property in jquery how to disable input field jquery disabled element in jQuery jquery disabled input jquery enable element cell property enable jquery enable object jquery jquery disable input type text jquery input disable set disabled attribute jquery jquery diasable input jquery enable disabled jquery set input disabled how to add disabled attribute in jquery disabled false in jquery jquery disable this disable jquery jquery disable input text field .disabled in jquery disable field jquery disable input jquery jquery enable disable input how to make an element disabled in jquery disable input with jqery dosabled using jquery Jquery disable control prop('checked', disable) how to enable & disable a text field in jquery disable property in jquery textbox disable false in jquery how to enable/disable html form fields using jquery JQUERT ID DISABLE jquery attr enable disable text jquery jquery disabled and enable disabled true jquery disable input by jquery jquery make disabled enable prop again jquery how to disable input field using jquery disabled in jquery jquery enable disable textbox jquery disable entry diable input in jquery jquery set disabled how to disable false in jquery disable input from jquery disable element using jquery jquery this disable disable input in jquery jquery enable input jquery set text input to disabled jquery make a form field enabled jquery input disabled jquery set disabled flase disabled jquery js event when element enabled jquery disabled disable in jquery how to make enable input jquery disable input using jquery enable false jquery how to disable input field in jquery jquery prop disabled javascript prop disabled true jquery disable input field prop disabled jqyery elemnt enable disable disable field in jquery input disabled jquery jquery disable input but take the valu disabled false jquery .prop disabled set input disabled jquery disabled input jquery jquery disable jquery deactivate element jquery disable input jquery disable input field by id
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source