disable input field with jquery

Solutions on MaxInterview for disable input field with jquery by the best coders in the world

showing results for - "disable input field with jquery"
Nicolò
22 Mar 2018
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
Ashlee
11 Nov 2020
1// Disable #x
2$( "#x" ).prop( "disabled", true );
3 
4// Enable #x
5$( "#x" ).prop( "disabled", false );
Alex
28 Feb 2017
1$('input').prop('disabled', false);
queries leading to this page
jquery disable input field by idjtextarea disable tabdisabled in jquerydisable input element using jqueryfind disabled input jqueryjquery input remove disableddisable input property jqueryprop disabled true in jqall input disabled jqueryset the attribute enable in jqueryjquery disable preverinput disabled event jquerybutton props html disabledjquery disable input type textdisable div using jqueryinput disable jqueryprop disabled javascriptjquery set input disablejquery cannot make input enableddisable checked input using jqueryon change disabled field jquerymake an input enabled and disabled with htmljquery disable enable inputhow to enable 26 disable a text field in jquerydisable div jqueryhow to disable enable css in jqueryjqueyr disable input in formhow to disabled input in jqueryinput field disabled jqueryjquery disabled inputjquery prevent disablehow to disable all the prop of a element previously defined disabledhow to make enable input jqueryjquery disable all input formprop 28 27disabledisable open end in jqueryjquery disabled trueenable the elementhtml input disabled jquerydisabled attr or propjquery disable falsejquery diasable inputdisabled false jquerydisable propjquery disable text inputjquery disable input textjquery enable disable inputdisable text field jqueryjavascript prop disabled truedisabled input jquedisabled edit input html jqueryjqury input diabeldisable input jqurydisable a field in jqueryfor security profile how to enable or disable the controls based on the property in jqueryhow to enable or disable the controls based on the property in jquerydisable field but not value in jquerydisable content using jqueryjquery disable formif disabled 3ddisabled jqueryjquery remove disabled 24 28 22 23x 22 29 prop 28 22disabled 22 2c true 29 3bjquery disable form fielddisable typedinput jquery jquery make disabledjquery disable buttonjquery disable 28 29jquery input button disabledjquery select input by name and disabledattr disabled enabled jqueryjavascript prop disabledenable item using jqueryhow to disable text field in jquerydisable text jquerydisable whole div jquerydisable input fields jqueryset value on disabled input jqueryset disable an input field using jquerymake input text disabled jqueryhow to disable input in jqueryhow disable input jqyertyprop disablehow to disable input fdisable property in jquery textboxhow to add disabled tag to class in jquerydisable input field jquerydisable astra focus formhow to disable and enable input field in jquerycheck input disabled jquerydisabled all input field html jqueryjquery change disabled statedisabled input jquerydisable enter in htmljquery remove disabled attribute from textboxhow to make input disable by propshow to disable form fields in jquerybutton disabled false jqueryadd disabled prop to buttonjquery css enabled textboxjquery disable attributeadd disabled to input jqueryget value of disabled input jquerymake disabled input box in jqueryjquert id disablejquery set text input to disabledjquery set input as disabledjuqery set disabledjquery change disabled to enabledremove disable using jqueryjquery make form element disabledjquery ui disabling all the elementsjquery set an input disabledjquery text input not disabledhow to disable a function in jquerydisable input by jqueryhow to disable input using jquery and greay it outjquery disable and undisable inputjquery how to turn off disabledselect form disable enable false jqueryjquery input name disablechange disabled jqueryenable disable input field jqueryhow correct disable fields in jquery prop 28 27disabled 27 2c true 29disable an input field jqueryjquwery 24 disableenable jquerydisable text field in jquery prop disabledjquery prop disabledhow to disable a div in jquerydisable divs in a div jqueryinput button enable disable jquerymake input disable jqueryjquery ui disabling elementsjquery set property disabledjquery disable einput 2benabled and disabled in jqueryempty input field and set to disabled jqueryenable 2fdisable dom input field jquerydisabled all input in div jqueryjquery dissabledisable on jqueryjquery enable disabledjquery disable input request problemhow to make input field data disable in jquerydisable all input field jquerydisable an input jqueryjquery set input box disabled uder divjquery make input disabledjquery disable input 27prop 28 22disabled 22 2c true 29disabled attribut css jquery input disabled property jqueryremove disable jquerydisable value jquerydisable a input field in jqueryenable and siable elementadd prop disabled jquerymake input disabled jqueryenable disable button jquerydisable enable fields jquerydisable input button in jqueryprop disabled true jsjquery disable input text fieldhow to disable an element in jqueryjquery list item on selection disable and enabledisable select with jquerymake element disabled jqueryjquery disable input but take the valuset all input to disabled jqueryjquery disable adisabled element jquerycode for disable input filed jqueryjquery disable input fieldsdisable 2fenable an input with jquery 3flaravel input disabledhow to disabled a property in jqueryjquery css to disale select boxjquery input disablejquery disable objectselect disabled jquerydisable jquerydisable all input fields in div jqueryset disabled attribute jqueryhow to disable false in jqueryjquer disable false 2b sign disable in jquery prop disabled truejquery css disabledhow to disable input by jqurydisabled inpur jquery 5cenable prop again jqueryset input disabled jquerydisable input field value get jqueryhow to prevent xssprevent defaultdisabled jquery inputdisabled a tag html jqueryhow to disable jquerymake an input disables using jsqueryprop 28 27checked 27 2c disable 29how to enable 2fdisable html form fields using jqueryenable input with jqueryusing prop to enable or disable the button 3fstop entry any input in jquerydisablejquery disabled without disabledjquery element disabledjquery how to turn off ime of input fielddisable true false jqueryjquery set disabled input valuejquery ui textarea disableddisable a element in jquerya tag disabled jqueryjquery lock delete input filedenable attribute using jqueryinput text disabled jquerydisable element in jqueryjquewry disable inputdisable false jquery inputprop disabled jqueryhow to disable input type in jqueryjquery disable functionenable textbox using jqueryjquery set disabled attributejquery disable enableuse jquery to get id and disable elementenable and disable attr jqueryjquery disable all inputs in bodyjquery has disabled textbox value submittedjquery disable form inputjquery disable a textboxdisabled true in jqueryenable input jqueryj query block an input from clickdisable div tag in jquerydisable jquery inputjquery set input disabledangular prop disabledjquery enable disabled fieldjquery change disable input in divchange input disabled jquerydisable input from jqueryhow to disable input type textbox in jqueryjquery disable an elementdisabled attribute in jqueryjs prop disabled truejquery disable all inputsdisable p elementdisabled css jqueryreturning disabled input jqueryjs prop disableddisabled field jqueryjquery enable input by idenable textbox in jqueryj1query disable inputdisable text input jqueryadd disabled to button jquerytextarea disabledhow to disable div using jquerydisabled true does not work jqueryjquery change attribute disabledhow to disable input with jqueryinput button disabled jqueryhow to disable input text in jqueryenable and disable form inputjquery disable textfieldset disabled on an element jquerydisable control in jqueryj query block an input from changejqyery elemnt enable disabledisable input jquertyinput enable disable jquerylaravel input text disabledhow to disable a element in jquery using idjquery onclick disable fieldjq enable inputlock input jqueryjquery disable inputjquery disable divdisabled property jquerychange disabled attribute jqueryinput type disabled using jquerydiv disabledjquery enable selectjquery enable html elementdisabled jquerydisable input button jqueryjquery disablewhen check an input disable other jquerydisable specific input fields jquerydisable and enable input elements in a div block using jqueryinput disabled functionjquery disable controlhow to disable input field in jquerydisable and enable using jqueryhow to enable input by jqueryjquery enable element 26 3ahover disabledjquery form enable specific input jquery set disableddisable input type button jqueryturn disabled off jquerypropert dosabled jquerzdisable fields jqueryjquery disable inputinput tag disabled jqueryjquery form enable disablejquery enable disabled elementdisable element using jquerydisable all inputs jqueryjquery disable input enableset enabled to false for all dom elements on formjquery disable input formdisable an element in jquerycant read the disabled input jquerydisabled element in jqueryhow to disable select jqueryjquery disable input in divjquery to make a div disabledjquery set input as disabledjs event when element enableddisable false in jqueryenable and disable form elements jqueryjquery deactivate inputchaned disable input jqueryhow to disable div in jqueryjquery disable all input fieldsjavascript jquery disable inputasp net jquery input name disablehow to enable control usikng jqueryhow to disable prop enabled or disabled in jqueryatter disable in jquerydisable and enable jquerydisabled the input bos in jquerydisable elementjqiery disable element in pagedisabled jquery idhow to enable text box in jquerydisable and enable form input field jqueryjquery handle value of disabled elementhow to disable and enable a button in jquery depending on input fieldshow to set a div with a disabled propjavascript add prop disabledset element to disabled jqueryhow to disable input field jqueryprop 28disabled true 29enable disable feild jqueryjquery enable dispable inputjquery return disable inputhow to set disabled in jquery on all inputjquery disabled falsedisable form input jqueryhow to enable input type text in jquerywhy jquery ui added disable attribute to the elementscell property enable jqueryapply 3adisabled dynamically using jqyery using css 28 29disabled input box jqueryjquery input disbaledhow to disable element in jqueryhow to disable input field using jqueryremover disabled input jquerydisabled true jqueryjquery deactivate elementjquery current html attribute is disableduse jquery to disable an elementadd disabled to button javascriptjquery remove disabled from all inputdisable jquery how to create prop 28 27disabled 27 2c false 29enable input enabledisable input fields jquery by classjquery enable inputdisable property in javascript jqueryremove disabled attribute from input jqueryhow to disable all inputs in div in jqueryjquery enalbe input 24 28 select 29 prop 28 disabled false 29how to custom disable input field using jquerydisabled true example in jquerydisable a text field in jquerydisable input field with jqueryjquery on change enablejquery disable input required problemjquery disabled attributejquery remove box prop 28 27disabled 27 2c true 29 3bjquery find input by id set disabledhow know the disabled input field in jquerycss to disable field in jquerydisallow or disable toggle jquerydisable enable input jquerymake all input disabled jqueryhow to make input disabled jqueryhow to make an element disabled in jqueryonchange for disabled field jquerydisable input with jqeryjquery remove disabled inputhow to check input field disabled in jqueryjquery disabled 3d 22false 22disabled 2fenabel input html jquerydisable input type jqueryjquery element are disabled blockdisable input field from jqueryhow to change value of disables input field using jquerydisabled input with jqueryhow to set disabled attribute in jqueryhtml disable input jqueryhow to disable all inputs in jquerydisable field jqueryjquery add css property disableddisable input field using jquerylock input box jquerydisable input in jquerymake field disabled jqueryjquery disabling form on its ownjq enable or disable inputdisable enable in jquerydisabled enabled jquerycss disable disbled using jquerydisabled to enable jquerybutton disabledjs disable text field without jquerydisable div in jquerydisabled input in condition jquertydisable something jqueryhow to add disabled in input use jqueryjquery disable some to typing in inputset disable for input by jqueryjquery disable to type on inputsinput disable enable jquerybootstrap jquery disable input on clickremove disabled from input jqueryjs disable focusenable disable field jqueryenable a tag jqueryhtml input text disable arrow keysjquery enable field on selectionjquery disable typeoverhow to disable input in jqueryinput disabled enabled jquerydisable input jquerydisable textfield in jquerydisable input text jqueryset disabled jquerydisable a tag jqueryinput add disabled jqueryjquery disabled 3a truejquery input disableddisable enable input by button click jqueydisabled false in jqueryng disableddisabled input jsquerydisabler input with jquerydisable control jqueryinput type disable jquerydisable input text field jquerydisplay none focustext input disabled jqueryjquery disable thisselect enable jquerydisable textbox input jquery kjquery disable propscss div disabledjquery code to enable a controljquery make element disabled attr 28 27enabled 27 2c 27enabled 27 29 3bmake an input enable and disabled with htmlcan i disable div in jqueryjquery set field to disabledjquery button prop disabledget enabled jquery 24 28this 29 prop 28 22disabled 22 2c 22disabled 22 29 3bjquery set enableddisabled using jqueryjquery how to disable inputnot working prop disabled true jsdisabled input field jquerydisable input box jqueryprop with disabled prop disabled jqueryenable control javascript jquerydisable input box in jqueryhow to enable a disabled field in jqueryif this has value disable input jquerydisable element jquerudisable input field by id jqueryjquery disable and enable inputdisable jquery elementinput type text enable disable jquryenable object jqueryhow to set field disable in jquerytailwind disable inputenable select jqueryjquery set input disabled attributejquery disable a inutdisabled prop html javascripthow to disable using propdisable true by jquerydisabled prop reacthtml property disable using jquerydisable input type text in jquerydiabled using jquerystop input entry in any input field without disabled 2fenabled in jquerydisable input element on form using jquerydisable controls jqueryhow to disabled element in jqueryhtml disable input on jquery 24 28 27 5bdata purpose 3d 22survey submit 22 5d 27 29 disabled 3d true jquerydisable from jquerydisable the textbox in jquerydisable a element jqueryinput box disable in jquery how to set disabled true or false in jqueryhow to set the disable an element in jqueryforms input jquery disable writecreate input type text jquery disabledjquery block inputprop disabled true jquerydisable form with javascriptjs set disabled propdisable input with jquerydo disabled fields get null value with jquerydisable element jqueryhow to disable input box in jqueryinput disabled false doesn 27t work jqueryhow to apply disabled in jqueryj query disabled an inputjquery enable indisabled inputsdisable input jquery without disableremove disabled input jqueryfield enable disablejquery disable entryjquery disabled without disabled enabledinput enable jquerydisabled propdisable element jquery csshow to enable and disable input in jqueryjquery disabled and enabledisable attribute in jqueryjquery is disabled inputdisable and enable element in jqueryreact disabled propjquery onclick disable input fieldhtml disabled attribute jqueryhow to set input disabled in jqueryon change disable inputjquery enabled divhow to disable an input field with jqueryjquery disable imputhow to lock in input in jqueryhow to enable input field in jqueryblock input jqueryenable disable jqueryenable disable input jquerydisable form field in jquerydisbale text jquerylist group in jquery enable and disable jquery set disabled flasejquery input enable disablehow to disable input button in jquerymaking button disabled with disabled inputs and one enabled inputmake an input enable and disabled on clickjquery diable inputform attr select disable and enable in jsdisable select jquerydisable button prop jqueryjquery disable input iddisabled enabled in jquerydisable true jqueryjquery ui added disable attribute to the elementshow to disable input field by id in jqueryhow to make input field disabled in jqueryinput disable in jqueryhow to disable a input field in jqueryhow to enable input in jquerydisable html using jqueryjquery disabled inputjquery enable disable textboxtextboxfor disableddisable in jquery textbox 24 28 27 23submit 27 29 prop 28 27disabled 27 2c 27disabled 27 29 3benabled to disabled in jqueryactivating and deactivating some form in htmlhow to remove disabled in input using jqueryjquery set value of input to another input disabledenable if pointerdosabled using jqueryjquery enablediable a form fields jquerydisable enable jquerybutton disabled false in jqueryjquery disable all inputenable input field jqueryprop 28 22disabled 22 2c true 29 3bjquery make element not disabledhtml input disable arrow keysjquery form input disabledprop 28 27disabled 27how to make disable in input tag using jquery prop 28 27disabled 27 27disabled 27 29disable inputs jquery prop 28 22disabled 22 2c trues 29 3bjquery disable fieldjquery set all input fields disabledhow to disable a property in jqueryhow to disable element with jqueryjquery attr enable how to add prop disabled jqueryused prop method to diseabledinput disabled jqueryjquery disable a input fieldhow to disable a in jquery disabled in jquerydiable input in jqueryadd disabled attribute jquery prop 28 27disabled 27 2c false 29 3btextbox enable disable jquerydisable element from get class jqueryhow to disable an item with jqeurydisable from adding input jqueryinput disabled in jquerydisable all input jqueryjquery all input disablejquery disable collection of inputsjquery diableset enable or disableenable disable by jqueryhow to make html selected disabledenable disable element jqueryujquery attr disabled enableddisable properties of an input field jqueryjquery diabled inputjquery disable undisabledisable element jquery by idjquery disable textboxdisable 2fenable an input with jquerydisable select field jquerydisable control using jqueryhow to accept disable in jquerydisable input field in jqueryenable input from jqueryjquery set prop disabledhow to lock input type jqueryenable 3d falsejquery input disabled attrdisabled attribute jquery 5cjquey enablecss onclick disablejquery set disabled to falsedisabled attribute jqueryprops disabledon click disable true and false jquerydisibled propsdisable input using jquerymake the input enabledhow to set input button disabled in jqueryjquery disable inputsjquery change disabled 7bprops disabled 7djqueyr disable all input in formjquery disabled propjquery disable elementhow to disable a field in jqueryhow to disable element jquerydisable input border on focusjquery disable input fieldhow to add disabled attribute in jqueryjquery prop disabled truejquery disable edit inputjquery change disabled input valueset input to disabled jqueryhow to disable input field using jqueyrenable disable in jqueryhow to enable or disable the control in jqueryremoving disabled attribute from input tags jquerycss disabled false jqueryjquery remove disable inputjquery turn input disabledhow to disable html element in jquerychange attribute disabled jqueryif disabled enable jquerydisable 2fenable an input with jquery examplehow to disable all input fields in jqueryjquery disabledhow to disa input in jqueryele prop 28 22disabled 22 2c true 29 in jqueryenable and disable input in jquerydisable enable select jqueryhow to make a field disabled in jqueryhow enable jquerytext field enable disable jquerydisable property in jqueryhow to disabled an inout using jqueryjqquery siable elementjquery this disabledjquery model disablejquery disable a fielddisable input value in jqueryjquery make input enable or disablejquery make a form field enabledhow to disable a tag in jqueryjquery enable disablejquery get button enabled propertyjquery input enablejquery adisableinput field disabled using jqueryhow to add disabled class to the html input type using jquery 3fdiv disabled with jqueryprop disabled true jquery for a specific divdisabled form fields jquerydisable field in jqueryjquery change input to disabledtextarea disable typingjquery diable elementdisable using jqueryjquery this disabledisable and enable input jquerydisable input value attr in jqueryjquery disable quant field on clickjquery how to disablehow to disable field by idwhat is 24 28 22 23frmfilter input 2c 23frmfilter select 22 29 prop 28 27disabled 27 2c false 29 3bapply disabled using style css in jquerydisabled jqurydisableelevation prop disable jquerybutton disabled propdisable all input under form jqueryjq make element disabledmake a div disabled jquery prop 28 27disabled 27 2c 27disabled 27 29 enableddisbaled jquerydisable html input jquerydisable all inputs in div jqueryremove prop disabledprop jquery disabledhow to disabled input field in jqueryjqueyr disable inputjquery option disabled falsejquery disableif enabled and disabled in jqueryhow to disable html input dom using jqueryelement enable httpshow to remove the disabled form the input by jquerymake select disabled jquerydisable cursor on number inputhow to disable input type text in jqueryhow to check input field is disabled in jquerydisable 28 29jquery enable and disable inputprop disabledadd disable to input field using jquerydisable in jqueryinput disabled 3d 7btrue 7d prop 28 22disabled 22 2c true 29how to disable a select box in jqueryinput enableddisable input field with jquery