Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery ready() method</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function(){ $("p").hide(); $("#btn1").click(function () { $("p").toggle("slow"); }); }); </script> </head> <body> <div> <p>first paragraph start here...</p> </div> <button id="btn1">Click Me</button> </body> </html>
  Preview Arrow