Monday, January 20, 2025

Testing HTML Page for jQuery - tidbit

 <!DOCTYPE html>

<html>

<head>

    <meta charset="utf-8">

    <title>jQuery Document Ready Demo</title>

    <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>

    <script type="text/javascript">

        $(document).ready(function(){

            $("p").text("Hello World!");

alert("Test: Inside the ready function.");

        });

    </script>

</head>

<body>

    <p>Not loaded yet.</p>

</body>

</html> 

No comments:

Post a Comment