I have the following code in a .html file, and I am then opening it with a browser. Why do I not receive the "Hello World" alert when the page loads? All I see is the "Test" text.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
$(document).ready(function() {
alert("Hello World!");
});
</script>
</head>
<body>
<p>
Test
</p>
</body>
</html>