enable or disable form elements - Jquery

enable or disable

Snippet Code


  
Rate this page :
  [ 0 votes]

//To disable a form element such as a text input field $("#myelement").attr("disabled", "disabled"); //To re-enable a disabled form element $("#myelement").removeAttr("disabled");

Tags


Ask Questions

Ask Question