How to empty contents inside a div using jquery
- by admin
- 0
To remove contents inside a class “gallery” :
$(“.gallery”).empty();
To remove class “gallery” itself:
$(“.gallery”).remove();
To remove contents inside a class “gallery” : $(“.gallery”).empty(); To remove class “gallery” itself: $(“.gallery”).remove();
To remove contents inside a class “gallery” : $(“.gallery”).empty(); To remove class “gallery” itself: $(“.gallery”).remove();