Write a jQuery code to check whether jQuery is loaded or not

Write a jQuery code to check whether jQuery is loaded or not.

Q. Write a jQuery code to check whether jQuery is loaded or not.

Answer :

File Name  : first.html

<html>

<head>

<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>

    <title>https://team-analytics.blogspot.com/</title>

</head>

<body>

    <h1>Check jquery is loaded or Not</h1>

    <script>

        $(document).ready(function(){

            swal('jquery loaded Successfully..!');

        });

    </script>

<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>

</body>

</html>

Write a jQuery code to check whether jQuery is loaded or not  Write a jQuery code to check whether jQuery is loaded or not Reviewed by technical_saurabh on April 28, 2021 Rating: 5

No comments:

Powered by Blogger.