jQuery disable and enable input

//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
jquery diabled input disable input field from jquery disabled input with jquery how to enable and disable input in jquery jquery disable input form jquery disable input disable input fields jquery disable input element using jquery add disabled prop to button how to disable prop .prop("disabled", trues); how to set field disable in jquery .prop('disabled', false); jquery disable a input field prop('disabled' jquery remove disabled input jquewry disable input prop("disabled", true); js prop disabled true javascript add prop disabled check input disabled jquery chaned disable input jquery .prop('disabled', true); disable input field using jquery prop with disabled prop("disabled", true) jquery set input as disabled how to disable input field using jqueyr disable input box jquery disableElevation prop how to custom disable input field using jquery set disable an input field using jquery disable and enable using jquery disabled enabled in jquery disable input jqury how to set disabled in jquery on all input enable and disable input in jquery jquery disable and enable input disable all input jquery how to remove the disabled form the input by jquery Js prop disabled how to make input field disabled in jquery disabled input field jquery disable a field in jquery find disabled input jquery make input disable jquery disable fields jquery jquery make input enable or disable disabled the input bos in jquery $( "#x" ).prop( "disabled", true ); prop disabled javascript disable enable fields jquery disabled input box jquery disable and enable input jquery disable a text field in jquery jquery disable all input input disabled enabled jquery how to disable input field by id in jquery set value on disabled input jquery javascript prop disabled input tag disabled jquery disabled to enable jquery all input disabled jquery disabled prop html javascript j1query disable input .prop('disabled', true) disabled input in condition jquerty how to disable and enable a button in jquery depending on input fields disable form field in jquery jquery enable disabled field jquery input disabled attr how to change value of disables input field using jquery prop(disabled true) disable a input field in jquery input disable in jquery disable input type button jquery forms input jquery disable write .prop("disabled", true) remove disabled input jquery jquery input remove disabled how to disable a input field in jquery jquery form input disabled jquery disable form field create input type text jquery disabled jquery remove disabled from all input jquery disable a textbox how to disable input with jquery html disable input jquery set disable for input by jquery disabled field jquery disable and enable jquery change input disabled jquery how to disable input type in jquery .prop('disabled', false) jquery disable input id disable input value in jquery make input text disabled jquery how to check input field disabled in jquery input field disabled jquery make all input disabled jquery jquery disable textbox jquery diable input jquery disable einput+ how to remove disabled in input using jquery $(this).prop("disabled", "disabled"); input type disable jquery disabled input jsquery how to add disabled in input use jquery how to set input disabled in jquery disabled jquery input disabler input with jquery jquery disable input enable add disable to input field using jquery disable inputs jquery disable an input field jquery disable/enable an input with jquery remove prop disabled jquery is disabled input disable input button jquery disable input button in jquery how to disable all inputs in jquery input disabled event jquery code for disable input filed jquery jquery disable button disable jquery input remove disabled from input jquery jquery disable inputs jquery disable all inputs jquery change input to disabled disable and enable form input field jquery jquery turn input disabled jquery disable edit input disable input jquery without disable input disable jquery set input to disabled jquery jquery make input disabled prop disabled true input button disabled jquery disable textbox input jquery disable text input jquery .prop('disabled', 'disabled') enabled prop disabled true js disabled prop react input add disabled jquery react disabled prop how to set a div with a disabled prop get value of disabled input jquery returning disabled input jquery disabled input jque how to disable input type textbox in jquery how to disable an input field with jquery how to make input disabled jquery disable html input jquery disable input element on form using jquery disabled attr or prop input box disable in jquery disable input with jquery disable input type jquery jquery set input disabled attribute disable text field jquery jquery disabled true how to disable a field in jquery Disable And Enable Input Elements In A Div Block Using jQuery disable typedInput jquery attr disabled enabled jquery jqquery siable element enabled to disabled in jquery if enabled and disabled in jquery enabled and disabled in jquery display none focus laravel input text disabled laravel input disabled jquery dissable enable if pointer prevent default div disabled disable cursor on number input disable input border on focus how to prevent xss input enabled disable astra focus form textarea disable typing &:hover disabled disable how to make html selected disabled textboxfor disabled add disabled to button jquery add disabled to button javascript jtextarea disable tab button disabled tailwind disable input scss div disabled html input text disable arrow keys html input disable arrow keys jquery enable field on selection ng-disabled textarea disabled select form disable input disabled={true} css onclick disable how to make disable in input tag using jquery js disable focus jquery remove box disable p element disable form with javascript disable an element in jquery change disabled jquery css disabled false jquery enable and siable element enable disable element jqueryu disable controls jquery make disabled input box in jquery jquey enable input disabled function jquery set input disable input disable enable jquery set enabled to false for all dom elements on form enable input jquery jquery disable input' jquery disabling form on its own jquery set disabled to false disabled property jquery html input disabled jquery disable control jquery set element to disabled jquery disabled jqury prop disable disabled true example in jquery field enable disable make select disabled jquery how to disable element in jquery disable jquery how to create how to add prop disabled jquery javascript jquery disable input enable = false disable select with jquery input type disabled using jquery disable select field jquery jquery diable element jquery set enabled enable disable in jquery textbox enable disable jquery how to enable a disabled field in jquery jquery enable select jquery diable how to disable input in jquery disable content using jquery how to enable control usikng jquery jquery attr disabled enabled jquery enable disable jquery disable text input jquery how to disable jqueyr disable input in form jqueyr disable input jquery disable input text text input disabled jquery jquery css disabled enabled or disabled in jquery block input jquery enable disable button jquery disable jquery element jqueyr disable all input in form how to add disabled class to the html input type using jquery? jquery element are disabled block using prop to enable or disable the button? element enable https j query disabled an input form attr select disable and enable in js disable text field in jquery enable disable jquery set disabled on an element jquery propert dosabled jquerz jquery disabled false disable something jquery jquery input button disabled jquery button prop disabled jquery set disabled attribute disable true jquery disable true by jquery jquery set field to disabled input enable disable jquery disable using jquery disabled attribute jquery\ jquery change disabled jquery change disabled to enabled change attribute disabled jquery jquery disable field jquery input disbaled disable .on jquery disable select jquery jquery disable and undisable input how to disabled input in jquery how to disable using .prop how to disable input type text in jquery jquery disabled prop disable element jquery css make input disabled jquery jquery disabled="false" make an input disables using jsquery disable textfield in jquery disable input field jquery disable enable input jquery jquery disabled: true input field disabled using jquery how to set the disable an element in jquery button disabled false in jquery prop disabled jquery jquery disable typeover enable control javascript jquery jq enable or disable input disabled attribute in jquery jquery disable form input jquery prevent disable how to disable text field in jquery enable disable input field jquery disable attribute in jquery set the attribute enable in jquery jquery change attribute disabled .attr('enabled', 'enabled'); disable element jquery text field enable disable jquery disable input field in jquery make element disabled jquery disable a element jquery how to disable a property in jquery how to disabled a property in jquery how to disable input field jquery jquery disable an element jquery set input as disabled disable prop disabled element in jQuery make field disabled jquery jquery onclick disable input field jquery onclick disable field jquery disabled input apply :disabled dynamically using jqyery using .css() apply disabled using style .css in jquery how to disable jquery jquery enable element enable disable input jquery button disabled false jquery jquery disable a inut cell property enable jquery enable object jquery jquery make form element disabled jquery disable input type text how to disable element with jquery disable false jquery input jquery input disable set disabled attribute jquery jquery disable false make the input enabled jquery diasable input jquery set prop disabled on click disable true and false jquery jquery enable disabled jquery disable prever disable enable jquery jquery disable this input disabled property jquery jquery disable enable prop disabled true in jq jquery set property disabled .disabled in jquery disable field jquery used prop method to diseabled jquery enable disable input disable button prop jquery add prop disabled jquery disable from jquery use jquery to get id and disable element jquery get button enabled property disabled INPUR JQUERY\ lock input box jquery jquwery $.disable $('[data-purpose="survey-submit"]').disabled = true jquery how to make an element disabled in jquery input disabled in jquery add disabled attribute jquery jquery disable a field how to disable input f disable input with jqery disable input field with jquery how to disable html input DOM using jquery jquery how to turn-off ime of input field what is $("#frmFilter input, #frmFilter select").prop('disabled', false); Enable the element dosabled using jquery Jquery disable control prop('checked', disable) how to disable input in jquery jquery set input disabled jquery this disabled jquery enable input by id how to enable & disable a text field in jquery jquery enable indisabled inputs jquery disable input text field disable property in jquery textbox disable true false jquery disable control in jquery jquery disable input required problem jquery disable input request problem disibled props disabled enabled jquery jquery find input by id set disabled disabled false in jquery making button disabled with disabled inputs and one enabled input if disabled=disabled jquery how to enable/disable html form fields using jquery jquery disable imput JQUERT ID DISABLE how to add disabled attribute in jquery disable jquery jquery attr enable disable input box in jquery how to disable input box in jquery disable text jquery jquery disabled and enable disable input by jquery jquery ui textarea disabled disable field but not value in Jquery jquery make disabled jquery set an input disabled disabled true in jquery set disabled jquery jquery enable html element enable prop again jquery how to disable all the prop of a element previously defined disabled disabled in jquery set enable or disable jquery enable disable textbox jquery on change enable if disabled enable jquery jquery disable entry disabled prop diable input in jquery enable textbox in jquery jquery set input box disabled uder div jquery set disabled input value jquery model disable .prop disabled jquery jquery prop disabled true how to disable false in jquery enable/disable DOM input field jquery disable properties of an input field jquery how to disable input field using jquery prop disabled true jquery for a specific div disable input from jquery disable element jquery by id disable specific input fields jquery disable element using jquery how to enable input type text in jquery jquery this disable jquery block input jquery disable collection of inputs html disabled attribute jquery disbale text jquery how enable jquery select enable jquery how to disable html element in jquery jquery current html attribute is disabled jquery disabled attribute jquery set text input to disabled jquery cannot make input enabled input disabled false doesn't work jquery jquery make a form field enabled disable() how to apply disabled in jquery jquery set disabled flase for security profile how to enable or disable the controls based on the property in jquery js event when element enabled how to enable or disable the control in jquery jquery disabled disable in jquery how to add disabled tag to class in jquery disable false in jquery juqery set disabled jquery how to disable input jquery option disabled false how to lock in input in jquery disable input text jquery how to make enable input jquery jquery make element not disabled disable input using jquery enable false jquery how to disable field by id why jquery ui added disable attribute to the elements jquery ui added disable attribute to the elements jquery ui disabling all the elements jquery ui disabling elements jquery disable form how to disable input field in jquery jquery prop disabled stop input entry in any input field without disabled/enabled in jquery stop entry any input in jquery javascript prop disabled true onchange for disabled field jquery disable input jquery disabled jquery disable open end in jquery jquery disable input field disable enter in html disable input in jquery jqyery elemnt enable disable disable field in jquery input disabled jquery jquery disable input but take the valu disabled false jquery prop disabled .prop disabled jquery enable input set input disabled jquery .disable jquery jquery set disabled disbaled jquery jquery element disabled lock input jquery disabled true jquery disabled input jquery jquery input disabled jquery disable jquery deactivate element jquery disable input jquery disable element jquery enable enable item using jquery 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