Answers for "how to set disabled attribute in jquery"

3

disable input field with jquery

// Disable #x
$( "#x" ).prop( "disabled", true );
 
// Enable #x
$( "#x" ).prop( "disabled", false );
Posted by: Guest on September-11-2020
0

jquery enable textbox

// Disable #x
$( "#x" ).prop( "disabled", true );
 
// Enable #x
$( "#x" ).prop( "disabled", false );
Posted by: Guest on May-20-2020

Code answers related to "how to set disabled attribute in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language