Q:

Find the loaded jQuery version

0

Find the loaded jQuery version

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

HTML Code:

<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-git.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Check jQuery version.</title>
</head>
<body>
</body>
</html>

JavaScript Code:

if (typeof jQuery != 'undefined') {  

    console.log(jQuery.fn.jquery);
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now