showing results for - "jquery disable input"
Noel
07 Jul 2019
1//jQuery 1.6+ use:
2$("#inputID").prop('disabled', true); //disable 
3$("#inputID").prop('disabled', false); //enable
4
5//jQuery 1.5 and below use:
6$("#inputID").attr('disabled','disabled'); //disable 
7$("#inputID").removeAttr('disabled'); //enable
Emilie
08 Feb 2020
1// Disable #x
2$( "#x" ).prop( "disabled", true );
3 
4// Enable #x
5$( "#x" ).prop( "disabled", false );
Glenn
11 Mar 2018
1if($('textbox').is(':disabled')){
2     //textbox is disabled
3}
4
Noa
13 Nov 2019
1$('input').prop('disabled', false);
queries leading to this page
prop 28 27checked 27 2c disable 29jquert id disabledisable and enable element in jqueryhow to make input field disabled in jqueryjquery if input disableddisable an element in jqueryinput type disable jquery 24 28 27 23submit 27 29 prop 28 27disabled 27 2c 27disabled 27 29 3bdisabled jquerydisable input fields jquery by classjquery button prop disabledjqyery elemnt enable disabledisable true false jqueryjquery disable a textboxhtml disable input jqueryjquery make form element disabledfind disabled input jquerydisable divs in a div jquerydisabled false in jqueryjquery element are disabled blocktextarea disableddisable input button jqueryhow to disable input fprop disabled truedisable property in jqueryinput enable disable jqueryjquery change disabledhow to check if hidden input is disabled jqueryget enabled jquerydisabled all input in div jqueryhow to disable a tag in jquerydisable jquery elementjquery enable input by idlist group in jquery enable and disable jquery disable imputset enabled to false for all dom elements on formdisable controls jqueryuse jquery to get id and disable elementcss to disable field in jquerydisabled property jqueryinput disable in jqueryhow to custom disable input field using jqueryhow to enable 2fdisable html form fields using jqueryjquery set disabled input valuesee if input is disabled jqueryjquery this disablehow correct disable fields in jqueryhow to add disabled tag to class in jqueryall fields disable using jqueryjquery form input disabledenable and disable attr jqueryhow to disable function jquerydisable field jqueryinput disabled in jquerydisable i tag in jqueryhow to disable and enable input field in jqueryjquery disable fieldjquery if input is disabledjquery disable all input formjquery disabled and enablejqueyr disable inputjquery disable to type on inputsjquery check if is disabledjquery disable input 27how to disabled a property in jqueryjquery enable dispable inputjquery disable a input fieldhtml p tag disable jqueryinput type text enable disable jquryhow to disable div in jqueryjquery set input as disabledjquery check if input is disabledjquery disable einput 2bmake an input enable and disabled with htmljquery enable disable inputdisable all inputs in div jquery prop 28 22disabled 22 2cenable disable feild jqueryhow to disable a in jquerydisable div in jqueryprop disabled jqueryjquery disable enableblock input jquerydisable all inputs jquerydisable field but not value in jqueryhow to make input disable by propshow to enable input in jqueryjquery if disabledjquery enable selectapply disabled using style css in jquerydisabled enabled in jqueryfor security profile how to enable or disable the controls based on the property in jqueryjquery set input disabled attributeremove prop disabled jquerydisable enable input by button click jqueyjs set disabled propjquery input button disableddisable enable fields jqueryif this has value disable input jquerydisable from adding input jqueryjquery disable and enablejquery input disbaledkjquery disable propdisable all inputs of form jqueryhow to lock input type jqueryjquery disable divjquery disable typeoverjquery disable 28 29jquery disable entryjquery disable input formhow to check element is disabled in jqueryhow to check input field disabled in jqueryjquery enable disabledjquery deactivate elementset input to disabled jqueryenable 3d falsejquery check input is disableddisabled input field jqueryremove prop disabledinput disabled 3d 7btrue 7djquery attr enable jquery deactivate inputjquery disable adisable value jquerytag disable jquerychange input disabled jqueryjquery handle value of disabled elementprop 28 22disabled 22 2c true 29how to make input disabled jquerydisabledisable function jqueryjquery add css property disabledjquery input remove disabledreturning disabled input jquerydisable fields jquerydisable prophow to enable or disable the control in jquerydisable the textbox in jqueryjquery input enablehow to accept disable in jqueryprop 28 27disablej query block an input from clickdisable whole div jqueryif input is disabled jqueryhow to enable input field in jquery 24 28 27prop 28 22disabled 22 2c true 29 3bhow to apply jquery on disabled inputenable input enablejquery enable disable elementsmake input disable jqueryjquery disabled input by valuejquery css to disale select boxuse jquery to disable an elementjquery has disabled textbox value submittedhow to disable input with jqueryjquery enable disable witjh disable input box jquerytailwind disable inputmake div disabled jqueryhow to enable control usikng jquerydisable 2fenable an input with jquery examplejquwery 24 disablehow to disable text field in jqueryenabled and disabled in jqueryhow to enable input by jqueryjquery make disabledhow to add disabled class to the html input type using jquery 3finput enabledhow to add disabled attribute in jqueryhow to disabled an inout using jquerycreate input type text jquery disableddisbale text jqueryjquery how to make disabled text field enabledjquery list item on selection disable and enabledisable a field in jqueryhow to disable using propadd disabled input jquerymaking button disabled with disabled inputs and one enabled inputjquery cehck if input disablejq enable inputhow to disable input by jqurycheck if an input is disabled jquerydisable element jqueryjquery set input as disabledremover disabled input jqueryset disabled attribute jqueryjquery form enable specific input how to add disabled in input use jqueryjquery disable functionhow to prevent xssjquery input disabledisable element using jqueryjquery text field disabledchange attribute disabled jquerycell property enable jquerymake all input disabled jquerydisable a input field in jqueryjquery how to disable inputenable input from jqueryhow to remove disable tag using jquerydisable specific input fields jquerynot working prop disabled true jsinput tag disabled jquerydisabled attr or propdisable input element on form using jquerydisable element from get class jquerydisable properties of an input field jqueryhow to disable input button in jquerydisallow or disable toggle jqueryenable input field jqueryenable false jqueryjquey enablejquery disabled inputset disable for input by jquerydisabled form fields jqueryjquery change disabled statehow to remove disabled input jquerydisable input field from jqueryjquery enable disable textboxjquery disable a fieldjquery remove disableddisable input jqueryenable the elementinput field disabled jqueryhow to disable input field by id in jquerydisable astra focus formdisabled propangular prop disableddisable cursor on number inputdisabled attribute in jqueryscss div disabledhow to check if input field is disabled in jquerydisable true by jquerychange disabled jqueryhow to set a div with a disabled propjs check if disabled in class listenable input with jqueryjquery make element disabledjquery change disabled input valuedisabled input with jquerydisable form input jquerydisable and enable jquerychange disabled attribute jquerydisable jquerydisable and enable form input field jqueryjquery disable inputshow to disabled input field in jquerydiv disable jqueryprop jquery disabledenable disable button jquery on input text and selecthow to disable propdisabled true in jqueryjquery dissableset disabled jquerybootstrap jquery disable input on clickhtml input disabled jqueryinput button enable disable jqueryhow to disable field by idjquery disable inputdisable text input jqueryhow to make a div disabled jquerycheck input disabled jqueryj query disabled an inputjquery check if input disabledjquery css enabled textboxhow to disable false in jqueryinput box disable jqueryenable a tag jqueryjquery check input disabledhow to disa input in jquerylaravel input disableddisable input fields jquerydisabling input field jquerydisable checked input using jqueryjquery disabled 3d 22false 22enable attribute using jqueryprops disableddisabled css jquerydisable p elementdisable element jquerujquery disable elementjquery enable disabled fielddisable text field jqueryjquery how to disablehow to make input field data disable in jqueryjquery disable input idadd disable to input field using jquerydiv disabled with jquery 24 28 27 5bdata purpose 3d 22survey submit 22 5d 27 29 disabled 3d true jqueryhow to disabled a tag in jqueryhow to set disabled in jquery on all inputcode for disable input filed jquerypropert dosabled jquerzjquery disable preverdisable input jquryjquery check if input is disabled or notdisable typedinput jquery 24 28 22 23x 22 29 prop 28 22disabled 22 2c true 29 3bdisable a text field in jquerydisabled field jquerydisable a tag jqueryis has disabled input jquerydiable a form fields jqueryjquery enable disabled elementjquery to disable elementdisable and enable using jquerydisabled enabled jquery prop 28 27disabled 27 27disabled 27 29lock input jqueryjquery set all input fields disabledjquery disable and enable inputdisabled a tag html jqueryjquery remove boxjquery disable buttonenabled to disabled in jqueryadd disabled attribute jqueryinput disabled functionset disabled on an element jquerydisable input field with jqueryjquery disable text inputjqiery disable element in pageremove disabled from input jqueryjquery disable input in divprop 28 27disabled 27disable from jquery prop 28 22disabled 22 2c true 29jquery disable form input disabled in jqueryadd disabled to button jquerydisable input property jquerymake disabled input box in jqueryjquery enable and disable inputadd disable to element jquerydisable a element jqueryenable input jqueryjquery disable thisadd prop disabled jqueryif enabled and disabled in jquerylaravel input text disabledbutton props html disabledhow to disable enable css in jquerydisable div using jqueryjquery set prop disabledjquery disableddisabled using jqueryhtml disabled attribute jquerydisabled true example in jquerydisable property in javascript jquerydisable text field in jqueryset value on disabled input jquerydisabled attribute jqueryused prop method to diseabledbutton disabled false jqueryon click disable true and false jquerydisable input type button jqueryenable jqueryjquery remove disabled inputjquery disable input type textmake text property disabled jqueryjavascript jquery get input value above 2cdisable buttoninput disable enable jqueryjquery input field disabledhow to enable 26 disable a text field in jqueryjquery set disabledchange value of disabled input jquerywhen check an input disable other jqueryenable and disable form elements jqueryjquery disable input fieldshow to disable input type in jquery prop 28 27disabled 27 2c 27disabled 27 29 enabledadd disabled attribute value to input jquerydisable 2fenable an input with jquerymake field disabled jquerytext input disabled jqueryjqueyr disable input in formset input disabled jqueryhow to disable a div in jqueryjtextarea disable tabjquery model disableset the attribute enable in jqueryjqueyr disable all input in formdisable all input under form jqueryselect form disable textbox enable disable jqueryjquery disable an elementdisabled jquryjquery onclick disable fieldhow to set disabled attribute in jqueryjquery form enable disablejquery how to turn off ime of input fieldjquery set property disabledjquery disable input fieldhow to make a field disabled in jquerydisable button prop jqueryjquery prevent disableinput disabled enabled jqueryhow to disable a text field in jqueryinput disabled property jqueryjquery is disabled inputenable prop again jquerydisable false jquerydisableelevation propjquery disable falsedisable enable select jqueryjquery onclick disable input fieldenable 2fdisable dom input field jqueryhow to disable element with jqueryjuqery set disabled disable jqueryhtml input disable arrow keyshow to disable select jquerydisable jquery how to createdisabled true jqueryhow to apply disabled in jquerydisable input value attr in jqueryjquery change input to disabledjquery set input disabledisable html using jqueryhow to disable a element in jquery using idele prop 28 22disabled 22 2c true 29 in jquerydisable textfield in jquerydisable input jquedisable input in div jquerydisable div jqueryhow to disable input in jqueryhow to disable div using jqueryjavascript prop disabledcheck if input is disabled jqueryjquery set enabledfield enable disablehow to set disabled true or false in jqueryjs prop disabled trueon checked input disabled jqueryprop with disableddisable input by jqueryjquery disabled attributejquery get button enabled propertyon change disabled field jquerystop entry any input in jqueryhoe to disable input field in jqueryjquery enable html elementenable disable button jquerydisable with jquerydisable and enable input elements in a div block using jquerydisabled false jquerydisable all input fields in div jquerydisable textbox input jquery input field disabled in div using jqueryjquery disable input textdisable select jquerydisable html input jqueryprop disabled true jquery for a specific divenable and disable input jqueryhow enable jquerydisable input field value get jqueryhow to disable input box in jquerydisabled true does not work jqueryset all input to disabled jqueryhow to disable a property in jqueryenable control javascript jquery 24 28e target 29 prop 28 27disabled 27 2ctrue 29 3bhtml input text disable arrow keysenable select jqueryhow to disable element in jqueryhtml property disable using jqueryhow to make div disabled in jqueryjquery all input disableprop disablejquery disable textfieldall input disabled jqueryjquery to make a div disableddisable 28 29disabled jquery iddisable all input field jqueryenable disable input jqueryjquery check if field is disableddo disabled fields get null value with jquerydisable open end in jqueryatter disable in jqueryjquery input name disableinput disabled event jqueryinput field disabled using jqueryif disabled 3ddisabled jqueryjquery disable input but take the valujquery disable edit inputdisable control in jqueryjquery set disabled to falseinput button disabled jquery prop disabled jquerydisable input type text in jquery 24 28 select 29 prop 28 disabled false 29input enable jqueryjquery disable enable inputjquer disable falsejquery is disableddisable elementjs disable focusjquery set field to disabledjquery disable input field by idjquery on change enablejquery make element not disabledjquery option disabled falsejquery disable all inputsjquery disabled without disabledjquery set an input disableddisable elements of div jqueryhow to disable input type textbox in jquerydisable a element in jqueryselect enable jqueryenable textbox in jqueryinput add disabled jqueryhow to disable element jqueryremove disable using jquerymake input text disabled jqueryjq make element disabledinput box disable in jquery jquery css disableddisable input field by id jqueryj1query disable inputchaned disable input jquerydisable all input jqueryjquery ui disabling elementsenable disable by jqueryjquery disable input text fieldjquery set text input to disabledjqury input diabeltext field enable disable jquerystop input entry in any input field without disabled 2fenabled in jquerywhat is 24 28 22 23frmfilter input 2c 23frmfilter select 22 29 prop 28 27disabled 27 2c false 29 3bjquery undisable inputhow to remove disabled in input using jqueryset enable or disablejquery disable all inputs in bodyhow to disable input using jquery and greay it outdisabled inpur jquery 5cjavascript jquery disable inputdisable attribute in jqueryhow to enable a disabled field in jqueryforms input jquery disable writeinput disabled jqueryjquery disable attributeattr disabled enabled jqueryjquery remove inpute disabledbutton disableddiv disabled jqueryhow to enable input type text in jqueryjquery adisableusing prop to enable or disable the button 3fhow to disable a function in jqueryjquery check if item is disableddisabled element jquerydisable property in jquery textboxset disable an input field using jqueryfully disable item jqueryhow disable input jqyertyjquery disable input request problemdisable control using jquerydisable html usiing jquery tag jquery disable some to typing in inputjquery enable field on selectionjquery set input box disabled uder divjavascript prop disabled truejquery this disabledif select disaabled in jqueryjquery current html attribute is disabledjquery change disable input in divdisable an input jquerydisable input text field jqueryenable if pointerjquery make a form field enableddisabled to enable jqueryhow to disable jqueryjquery disabledisable content using jqueryprop disabled true jqueryhow to disable input field in jqueryjquery input disabled attrjquery disable controlselect disabled jqueryjquery enable disabledisable input jquertydisable form with javascriptdisable element jquery cssdisable something jquerymake an input enabled and disabled with htmlelement enable httpscss disable disbled using jqueryhow to disable html input dom using jquerydiable input in jqueryjquery block inputcant read the disabled input jqueryenable and disable form inputhow to check if input is disabled jquerydisable input border on focusprop disabled true in jqhow to disabled element in jqueryjquery disable input without disableda tag disabled jquerydisable input value in jqueryreact disabled propjquery disable and undisable inputjquery disablediabled using jqueryinput type disabled using jqueryturn disabled off jquerybest way to check if input is not disabled jqueryjquery disable all inputdisabled jquery inputasp net jquery input name disableupdate a disabled form field jquerthow to disable all the prop of a element previously defined disableddisable jquery inputprop 28 22disabled 22 2c true 29 3bhow to enable or disable the controls based on the property in jqueryjquery text input not disabledjquery diable inputenable disable field jquerydisabled prop reacthow to disable and enable a button in jquery depending on input fieldsadd disabled to button javascriptjquery disable a divhow to set field disable in jqueryjquery enalbe inputhow to disable all inputs in jquery prop disabledadd disabled attribute to input jquerydisable input element using jquery 26 3ahover disableddisable input button in jquerydisabled 2fenabel input html jqueryjquery make input enable or disabledisable form field in jqueryinput text disabled jquerydisable in jquerydisable enable input jqueryjquery set value of input to another input disabledbutton disabled propjquery diable elementjquery select input by name and disabledjquewry disable inputhow to disable input field using jqueryjquery disable button until the input fields are enteredremove disabled input jqueryjquery how to turn off disabled prop 28 22disabled 22 2c trues 29 3benable and disable input in jquerydisable div tag in jqueryenable and siable elementdisabled all input field html jquerydisable false in jqueryjquery enabled divjquery lock delete input filedhtml disable input on jquery disable inputs jqueryjquery enable inputj query block an input from changeenable disable jquerymake select disabled jqueryhow to disabled input in jqueryprop disabled true jshow to make enable input jquerydisplay none focusadd disabled to input jqueryjs prop disabledinput disable jqueryjquery return disable inputhow to disable an input field with jqueryset element to disabled jqueryjquery disable quant field on clickjq enable or disable inputdisabled the input bos in jqueryhow to lock in input in jquerydisabled input in condition jquertyjquery set disabled attributeinput disabled false doesn 27t work jquery 2b sign disable in jquery how to disable html element in jquerydisable true jqueryhow to make html selected disabledmake an input enable and disabled on clickdisable an input field jqueryjquery find input by id set disabledcheck if an element is disabled jqueryjquery disabled inputjquery disable all input fieldsdisibled propsjquery ui added disable attribute to the elementsdisable div with jquerydisabled input jsqueryjquery diabledisable input jquery without disablejquery diasable inputprop 28 27disabled 27 true 29how to disable a select box in jquerydisable input in jqueryjquery attr disabled enabledcss onclick disableactivating and deactivating some form in htmldisable element jquery by idjquery diabled inputlock input box jqueryif disabled enable jquerydisable enable jqueryget value of disabled input jqueryhow to make an element disabled in jquerydiv disabledjquery remove disable inputhow to disable all inputs in div in jquery prop 28 27disabled 27 2c false 29 3bjquery disabled truedisable enter in htmljquery disable inputremoving disabled attribute from input tags jqueryjquery enable indisabled inputshow to disable a field in jquerydisable input field using jquerydisable text jqueryenable object jqueryjquery input disableddisable in jquery textboxmake element disabled jqueryhow to disable all input fields in jqueryjquery disabled propjs disable text field without jqueryjquery disable input required problemjquery ui disabling all the elementsif input checked disable input jquery prop 28 27disabled 27 2c false 29disabled prop html javascripton change disable inputhow to disable a input field in jqueryjquery set input disabledmake the input enabled prop 28 27disabled 27 2c true 29enable disable in jqueryjquery code to enable a controldisabled attribute jquery 5cempty input field and set to disabled jquerydisbaled jquerycan i disable div in jqueryhow to disable input in jquery enabled or disabled in jqueryjquery remove disabled attribute from textboxjquery element disableddisable input with jqeryprevent defaultjquery remove disabled from all inputjquery if is disableddisable using jquerydisable input text jqueryjquery prop disabledjqquery siable elementng disabledjquery disable formcheck if input disabled jquery 24 28this 29 prop 28 22disabled 22 2c 22disabled 22 29 3btext field disabled in jqueryhow to enable text box in jqueryenable textbox using jqueryhow to disable form fields in jquerydisable input from jqueryjquery change disabled to enabledhow to disable input type text in jqueryjquery input enable disable 7bprops disabled 7dhow to set input button disabled in jquerydisabled attribut css jquery how to disable input field using jqueyrjquery set disabled flasedisable select with jquerymake input disabled jqueryhow to disable an element in jquerydisable on jqueryjquery disable collection of inputstextarea disable typingjquery make input disabledjquery prop disabled truedisable false jquery inputdisabled element in jqueryhow to set input disabled in jqueryhow to make disable in input tag using jquerydisable input field in jqueryhow to enable and disable input in jqueryjquery enable elementdisabled input jqueryapply 3adisabled dynamically using jqyery using css 28 29how to disable input text in jqueryjquery check if all inputs are disabledjquery disabling form on its owntextboxfor disabledadd disabled prop to buttoncheck if input text is disabled jqueryjquery check if disabledjquery enabledisabler input with jquerydisable element in jqueryjquery enabled disabledjs event when element enabledenable or disable in jqueryjquery disabled 3a truedisabled in jqueryprop 28disabled true 29disable enable in jqueryhow to add prop disabled jquerydisable 2fenable an input with jquery 3f attr 28 27enabled 27 2c 27enabled 27 29 3bhow to remove the disabled form the input by jqueryenable item using jquery prop 28 27disabled 27 2c true 29 3bjquery disable undisablehow to disable an item with jqeuryjquery change attribute disabledhow to set the disable an element in jquerydisable input box in jqueryjquery disabled without disabled enabledjquery disabled divjquery ui textarea disabledremove disable jquerydisable input field jqueryjquery disable textboxcss disabled false jquerydisabled input box jquerydisabled input jquehow to check input field is disabled in jqueryhow know the disabled input field in jquerydisable field in jqueryjquery if input is disabled dont workprop disabled javascriptenable disable input field jqueryenable disable element jqueryuremove disabled attribute from input jqueryprop disabledjavascript add prop disabledjquery turn input disableddisable select field jquerydisabled edit input html jquerycheck if input field is disabled jqueryjquery disabled falseprop 28disabled 29disable input with jquerydisable input using jqueryjquery disable a inutform attr select disable and enable in jsdisable control jqueryjquery disable objectjquery disable input enabledisable fieldset jquerymake a div disabled jqueryjquery cannot make input enabledmake an input disables using jsqueryhow to change value of disables input field using jquerydisable and enable input jqueryhow to disable input field jqueryonchange for disabled field jquerydisable input event jquryjquery disable form fieldbutton disabled false in jquerydosabled using jquerywhy jquery ui added disable attribute to the elementsdisable input type jquerydisable using propjquery disable input