I need a jquery to function to run on page load. I could not get it to work so I took the page and jquery script down to bare bones yet it still does not work. Here is the page:
<head>
<title>Jump Page</title>
<link href="Styles/Site.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript" src="Scripts/jquery-1.5.1.min.js" />
<script type="text/javascript">
$(function () {
alert("test");
});
</script>
<div>Report data is being loaded...</div>
<img id="spinner" src="Styles/spinner.gif" />
</body>
</html>
No alert is shown. I've been able to accomplish this in MVC - why is this extremely simple page giving me so much grief?
Note: No script errors are given in IE and the source looks identical to what is shown here.