jQuery Selectors

PHOTO EMBED

Mon Dec 18 2023 03:27:36 GMT+0000 (Coordinated Universal Time)

Saved by @Sifat_H #hide #hideclass #hideelement #hideelement class

$(document).ready(function(){
  $("button").click(function(){
    $(".test").hide();
  });
});
content_copyCOPY

This hides element based on button click.

https://www.w3schools.com/jquery/jquery_selectors.asp