Every line of 'disable input field jquery' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
310 function DisableInputs() { 311 $("input").each(function () { 312 $(this).fadeOut(300).fadeIn(150); 313 $(this).delay(455).prop("disabled", true); 314 }); 315 $(".button").each(function () { 316 $(this).fadeOut(300).fadeIn(150); 317 $(this).delay(455).addClass("disabled"); 318 }); 319 cookie.set("_input", "disabled", { expires: 7 }); 320 }
49 function disableSelect(chkbox) { 50 var sibling = chkbox; 51 while (sibling != null) { 52 if (sibling.nodeType == 1 && sibling.tagName.toLowerCase() == "select") { 53 $(sibling).prop('disabled', !chkbox.checked); 54 } 55 sibling = sibling.previousSibling; 56 } 57 }
439 function toggleDisableForm(disabled) 440 { 441 $('options_1').disabled = disabled; 442 $('options_2').disabled = disabled; 443 $('to').disabled = disabled; 444 $('cc').disabled = disabled; 445 $('bcc').disabled = disabled; 446 $('groups').disabled = disabled; 447 $('users').disabled = disabled; 448 $('subject').disabled = disabled; 449 $('message').disabled = disabled; 450 $('btn_send').disabled = disabled; 451 $('btn_preview').disabled = disabled; 452 $('btn_new').disabled = disabled; 453 }
47 function disableOption(input, label) { 48 $(input).prop('checked', false); 49 $(label).removeClass('active'); 50 }
44 disableInputs(newValue: any) { 45 let els = this.element.querySelectorAll('ui-button,ui-combo,ui-date,ui-input,ui-textarea,ui-phone,ui-language,ui-markdown,ui-checkbox,ui-radio,ui-switch,ui-tag,ui-list,ui-dropdown'); 46 _.forEach(els, el => { 47 try { 48 el.au.controller.viewModel.disable(!!newValue); 49 } catch (e) { 50 } 51 }); 52 }
298 function EnableInputs() { 299 $("input").each(function () { 300 $(this).fadeOut(300).fadeIn(150); 301 $(this).delay(455).prop("disabled", false); 302 }); 303 $(".button").each(function () { 304 $(this).fadeOut(300).fadeIn(150); 305 $(this).delay(455).removeClass("disabled"); 306 }); 307 cookie.set("_input", "enabled", { expires: 7 }); 308 }
71 function updateDisabled($el, disabled) { 72 if (disabled) { 73 $el.parents('td').find('input.additional-input').disable(true); 74 } else { 75 $el.parents('td').find('input.additional-input').disable(false); 76 } 77 }
94 function disable () { 95 $('textarea').addClass ( 'disabled' ).attr ( 'disabled', 'disabled' ); 96 }
10 function disable($element) { 11 $element.prop("disabled", "disabled"); 12 }
272 function disableInput() { 273 var current = state.get(); 274 if (current.active) 275 events.publish('disable-input'); 276 }