Answers for "how to disable a tag in jquery"

0

using jquery how to add disabled to a html tag

$(element). prop('disabled', true);
Posted by: Guest on April-15-2021
3

disable element jquery

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language