Posted on 9th May 2025|92 views
How to hide elements by class in jQuery?
Posted on 9th May 2025| views
Let us suppose there is an <h> in which there are few elements and you want to hide all the elements of p you can do this by using the following code
$("button").click(function(){
$("h").hide();
});