Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery hide all elements</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function() { $("button").click(function(){ $("*").hide(); }); }); </script> </head> <body> <p>First paragraph start here...</p> <p>Second paragraph start here...</p> <button>Click here to hide above all paragraph</button> </body> </html>
  Preview Arrow