Answers for "disable child elements jquery"

5

disable element jquery

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

how to remove child element in jquery

//for remove the child in jquery you can use the below code
$(".parent").empty();
Posted by: Guest on February-14-2021

Code answers related to "disable child elements jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language