jQuery Introduction
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> </head> <body> <button>Click me</button> <p>Waiting...</p> <script> $(document).ready(function () { $("button").click(function () { $("p").text("You clicked the button!"); }); }); </script> </body> </html>