jquery disable and enable input

Solutions on MaxInterview for jquery disable and enable input by the best coders in the world

showing results for - "jquery disable and enable input"
Nicole
15 Mar 2016
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
queries leading to this page
jquery enable disable witjh make an input disables using jsqueryjquery how to disableonchange for disabled field jqueryjquery prop disabledjquery button prop disableddisable select jqueryhow to disable jqueryprop 28 22disabled 22 2c true 29 3bjquery disablejquery set input as disabledjquery undisable inputprop disabled true jsdisable input text field jquerydisable an input jquerydisable true false jqueryinput box disable in jquery set element to disabled jquerydisable element jquery cssdisable astra focus formjquery form input disableddisable jquery inputjquery disabled inputdisable button prop jqueryhow know the disabled input field in jqueryjqueyr disable input in formdisable enable in jquery disable jquerydisable input in jquerydisable text field jquerydisable in jquerydiable input in jquerydisabled attr or propdisabled enabled jquerydisable input box jquerydisabled in jqueryset disabled on an element jqueryhow to disable input field jquerydisable all input jqueryselect enable jqueryenable input jqueryjquery prop disabled trueinput disabled jqueryenable textbox in jquerydisable fields jqueryjquery disable an elementjquery input button disabledhow to enable input type text in jqueryjquery disable input fieldsdisable 2fenable an input with jqueryhow to apply jquery on disabled inputjquery disable a inutjquery this disablejquery attr disabled enabled 7bprops disabled 7ddisable html input jqueryjquery disabled inputjquery this disabledenable false jqueryjquery how to disable inputjquery enable indisabled inputsjquery disable elementform attr select disable and enable in jsinput type text enable disable jqurydisable from adding input jqueryhow to add disabled class to the html input type using jquery 3fcheck input disabled jqueryjquery disable all inputsjquery enabled disableddisable a field in jquerydisable an input field jquerybutton disabled false in jqueryjs prop disableddisable content using jqueryjquery disable typeoverjquery is disabled inputdisable and enable input elements in a div block using jquerydisable field jquerydisable true jquerydisable element jquery by idjquery disabled 3d 22false 22textbox enable disable jqueryprop with disabledhow to disable input type in jquerychange value of disabled input jquerymake input text disabled jquerymake field disabled jqueryjquery disable preverdisabled false jquerydisabled field jquerywhat is 24 28 22 23frmfilter input 2c 23frmfilter select 22 29 prop 28 27disabled 27 2c false 29 3bdisabled input jqueryjs set disabled prophow to disable input box in jqueryhow to add prop disabled jqueryjquery disable a fieldset input to disabled jqueryjquery disabled propenabled to disabled in jqueryinput disabled enabled jquerydisable input by jqueryenable object jqueryjquery disable input type textdisable text input jquerydisable input field in jquerydisable properties of an input field jquerydisabled the input bos in jqueryhow to disable html input dom using jqueryjquery disable a input fieldreturning disabled input jquerydisable enable input jqueryinput disabled in jquery 24 28e target 29 prop 28 27disabled 27 2ctrue 29 3bjquery cannot make input enabledjquery disable falsejavascript prop disabledjquery set input box disabled uder divdisable input element on form using jqueryon click disable true and false jquerymake text property disabled jquerydisable input type button jqueryjq enable or disable inputdisable input from jqueryjquery disable fielddisablestop entry any input in jqueryjqyery elemnt enable disablejquery change disabled input valuejquery enable and disable inputdiv disabledjquery disable input 27how to disable all the prop of a element previously defined disableddisable input using jqueryjquery option disabled falsehow to make html selected disabledjquery css disabledadd disabled input jqueryprop disabled trueapply disabled using style css in jqueryhow to change value of disables input field using jqueryinput disabled 3d 7btrue 7dinput disabled false doesn 27t work jqueryjquery ui disabling elementsenable disable input jqueryadd disable to input field using jqueryhow to disable input fjquery make element not disabledlock input jqueryenable item using jqueryhow to make an element disabled in jqueryhow to add disabled in input use jquerylaravel input disabledtext field enable disable jqueryjquery remove disabled inputdisabled property jqueryhow to disable element with jqueryjquery disable input fieldif disabled 3ddisabled jquery prop 28 22disabled 22 2cblock input jqueryhow to disable html element in jqueryjquery set input disable prop 28 27disabled 27 2c true 29disable text field in jquery prop 28 22disabled 22 2c true 29jquery disable input but take the valudisabled true in jquerydisabled edit input html jqueryinput disabled property jqueryhow to disable a input field in jqueryjquery enable disabledprevent defaulthow to prevent xssjs disable focushow to disable input in jquerydisable input button jquerydisable true by jquerystop input entry in any input field without disabled 2fenabled in jquerydisable input with jquerydisabler input with jquerydisable false jquerydisabled element in jqueryjquery disable control 24 28 select 29 prop 28 disabled false 29disabled input field jqueryjquery disable enablemake element disabled jqueryjquery remove boxdisplay none focusjquery disable buttonchange disabled jquery attr 28 27enabled 27 2c 27enabled 27 29 3bdisable input type jqueryinput disabled functionhow to disable input field using jqueryjquery disable edit inputhow to disable input with jquerydisable input jqury 24 28 27prop 28 22disabled 22 2c true 29 3bhow to check input field disabled in jqueryjquery disable textboxjquery set property disabledjquery input remove disabledjquery set enabledhow to set field disable in jqueryhow to disable text field in jqueryjquery element disabledjquery disable and undisable inputmake input disabled jqueryhtml disabled attribute jqueryng disabledjquery enable field on selectiondisable input field using jquerydisable using propelement enable httpsremove prop disabledhow to lock in input in jqueryjquery enable disabled fieldremove disabled input jqueryhow to disable and enable a button in jquery depending on input fieldsenable disable feild jqueryjquery enable disablehoe to disable input field in jqueryset enabled to false for all dom elements on formjquery make input disabledhow to disable element in jquerydisabled prop html javascripttailwind disable inputdisable select field jqueryforms input jquery disable writedisable input jquechange attribute disabled jqueryhow to disabled a property in jquery 24 28 27 5bdata purpose 3d 22survey submit 22 5d 27 29 disabled 3d true jqueryjquery disable inputscss div disabledinput box disable jqueryjquery input disablehow to disable field by idenable disable by jqueryset value on disabled input jqueryjavascript jquery get input value above 2cdisable buttonjquery dissablelock input box jqueryenable the elementprop disabled true in jqenable disable element jqueryujquery set field to disabled prop 28 22disabled 22 2c trues 29 3bjquery remove inpute disableddisable jquery elementis has disabled input jqueryjquery disable input text fieldhow to enable control usikng jqueryif enabled and disabled in jqueryhtml disable input jquerymake all input disabled jquerydisable textfield in jqueryjquery enablejqquery siable elementjquery diablehow to add disabled attribute in jqueryjquery disabled attributedisable from jqueryjquery change disable input in divhow to disable a property in jqueryjquery disable form inputjquery make input enable or disableinput type disabled using jqueryhow to disable input type text in jquerymake the input enabledtext field disabled in jquerydisable element using jqueryjquery disable input textdisable p elementjquery disabled and enablejquery enable elementenable or disable in jquerydisable using jqueryjquery input field disabledjquery change attribute disabledall input disabled jqueryprop disabled jquerychaned disable input jqueryjquery disable input without disableddisable textbox input jquery javascript add prop disabledjqueyr disable inputinput tag disabled jqueryprop jquery disabledjquery on change enablejquery disable einput 2bhow to remove disabled input jqueryadd disabled to button javascriptdisable input property jqueryjquwery 24 disablejquery disable input request problemdisable input text jqueryif disabled enable jqueryhow to remove disabled in input using jquerywhen check an input disable other jqueryjquery make disabledprop 28 27disabled 27 true 29find disabled input jqueryjquery current html attribute is disabledfor security profile how to enable or disable the controls based on the property in jqueryhow to disable input type button in jqueryprop 28disabled 29disable control in jqueryinput field disabled jqueryjquewry disable inputchange input disabled jqueryjquery disable input iddisable input field from jqueryuse jquery to get id and disable elementdisable cursor on number inputjquery disabledget value of disabled input jqueryhow to disable propset disable an input field using jquerydisbaled jquerydisable a element jqueryprop 28 27disabled 27disabled input jquejquery diable elementtextarea disable typingset the attribute enable in jqueryhow to disable input field using jqueyrdisable input fields jquerydisable input border on focusdisable specific input fields jquerydisable false jquery inputdisable and enable jquerybutton disabled false jqueryjquery disable and enable inputjquery disable entrydisable and enable using jquerydisable input element using jqueryremove prop disabled jqueryhow to disable using prophow to set input disabled in jqueryhow to apply disabled in jquerycode for disable input filed jqueryhow to custom disable input field using jquerydisable input value in jqueryjquery disable input required problemprops disabledjquery disable all input fieldsbutton disabled prop 28 27disabled 27 2c false 29 3bjquery change input to disabledinput disable enable jqueryenabled and disabled in jqueryhow to disabled input in jqueryjquery disable input enablehow to disable and enable input field in jquerydisable and enable form input field jqueryhow to enable 26 disable a text field in jquerydisable field but not value in jqueryjquery input disabledreact disabled propnot working prop disabled true jsdisable something jqueryjquery disabled input by valueset disabled jqueryenable disable field jqueryjquery change disabled to enableddisable propdisabled jquery inputdisable inputs jqueryjquery disable text inputhtml input disabled jqueryused prop method to diseabledtextarea disabled 24 28this 29 prop 28 22disabled 22 2c 22disabled 22 29 3bhow to add disabled tag to class in jquerytext input disabled jquerylaravel input text disabledinput enable disable jquerymake input disable jqueryprop 28 22disabled 22 2c true 29add disabled to input jquerydisable input button in jquerydisable element jqueryjuqery set disabledjquery disabled 3a truedisableelevation propjquery set disabled attributeprop 28disabled true 29prop disabled true jquery for a specific divdisable input field with jqueryjquery diabled inputjquery disabled truejquery set prop disabledenable disable in jquerydisabled prop reactjquery disable thisjquery model disabletextboxfor disabledjavascript jquery disable inputdisable an element in jquerydisbale text jquerydisable false in jquery 26 3ahover disableddisable input field jqueryjquery disable all inputdisable control jqueryjquery set disabledjquery disable inputprop disableenable disable button jquery on input text and selectjquery disabled falsedisable enter in htmlhow to disable a text field in jqueryjquery disable input formjquery set disabled to falsejquery attr enable button disabled propprop 28 27checked 27 2c disable 29how to disable false in jqueryadd disabled prop to buttonhow to disable all inputs in jquery disabled in jquerydisable input jquery without disablejquery diable inputwhy jquery ui added disable attribute to the elements prop 28 27disabled 27 2c true 29 3b prop disabled jqueryjquery change disabledenable and disable input in jqueryangular prop disabledenable control javascript jqueryjquery block inputhow to disable a field in jqueryinput enabledhtml input disable arrow keysenable 3d falsedisable property in jquery textboxset disable for input by jquerydisabled to enable jquerypropert dosabled jquerzset disabled attribute jqueryjqueyr disable all input in formjs event when element enabledcss disabled false jquerydisable select with jqueryjquery get button enabled propertyjavascript prop disabled truejquery make a form field enabledjtextarea disable tabcell property enable jqueryhow to make input field disabled in jqueryjquery set text input to disableddisable 28 29how to enable 2fdisable html form fields using jqueryjquery set input disabled attributedisable form field in jqueryinput button disabled jquerydisabled attribute in jquerydisable enable jqueryattr disabled enabled jquery prop disabledjs prop disabled trueremove disabled from input jquerydisable input with jqeryjquery disable a textboxdisabled input jsqueryenable disable button jqueryhow to disable input field by id in jqueryinput type disable jquery 24 28 22 23x 22 29 prop 28 22disabled 22 2c true 29 3bhow to disable input type textbox in jqueryhow to remove the disabled form the input by jquery enabled or disabled in jqueryset input disabled jquery prop 28 27disabled 27 2c 27disabled 27 29 enabledenable if pointerselect form disable using prop to enable or disable the button 3fdisable input jqueryjquery onclick disable input fieldenable and disable input jquerydisabled true example in jquerymake select disabled jqueryjquery set input as disabledinput disable jquerycss onclick disableapply 3adisabled dynamically using jqyery using css 28 29how to set disabled in jquery on all inputdisable on jqueryhow to set the disable an element in jquerydisabled inpur jquery 5chow to enable or disable the control in jqueryjquery disable input in divdisabled jquerydisable text jqueryjquery disable collection of inputsjquery enable selecthow to enable and disable input in jqueryadd disabled to button jqueryjquery enable disable inputhtml input text disable arrow keysjquert id disable prop 28 27disabled 27 2c false 29create input type text jquery disabledprop disableddisable form with javascriptdisable controls jqueryadd disabled attribute jqueryprop disabled javascriptdisable jqueryjquery enable input by idjquery set input disabledjquery disabling form on its owndisable input event jqurymake disabled input box in jqueryjquery disable imputdisable enable fields jqueryhow to make disable in input tag using jqueryset enable or disablehow to disable input in jquerydisabled enabled in jqueryhow to disable an input field with jqueryjquery set an input disabledjquery diasable inputdisable typedinput jquery jquery enable disable textboxjquery deactivate elementdisable attribute in jqueryjquery turn input disabledenable and siable elementenable disable input field jqueryjquery onclick disable fieldhow to disable input field in jquerydisabled input with jqueryinput field disabled using jqueryinput disabled event jqueryjquery input disbaledinput add disabled jqueryenable disable jqueryjquery ui textarea disabledjquery enable html elementhow to make input disabled jqueryj query disabled an inputenable 2fdisable dom input field jquerydisabled true jqueryjquery all input disabledisibled propsdisabled input in condition jquertyjquery disable form fielddisabled propdisabled jqurydisabled attribute jquery 5cenable prop again jqueryjquery ui disabling all the elementsjquery disable and enableif this has value disable input jqueryjquery remove disabled from all inputadd prop disabled jqueryinput field disabled in div using jquerydisable open end in jquerydosabled using jqueryjquery find input by id set disabledjquery disable inputsdisable field in jqueryhow enable jqueryjquery ui added disable attribute to the elementshow to set a div with a disabled propdisable and enable input jquerymaking button disabled with disabled inputs and one enabled inputbutton props html disabledfield enable disablejquery set disabled flasej1query disable inputhow to enable a disabled field in jqueryjquery disable button until the input fields are enteredjquery text field disabledjquery element are disabled blockjquery enable inputjquery set disabled input valuedisabled false in jquerydisable a text field in jquerydisable a input field in jqueryinput disable in jquerydisable jquery how to createjquery disable formjquery prevent disablejquery make form element disableddisable input in div jqueryjquey enablehow to make enable input jqueryremover disabled input jquerydisabled input box jqueryjquery how to turn off ime of input fielddisable input box in jqueryjquery disable input field by idjquery input disabled attrjquery disable and enable input