Could someone please help. I am trying to learn jQuery and have come upon some start up issues.
Here is where I'm at.
1. I visited the jquery.com website homepage. I checked the "Development" checkbox and clicked
"Download(jQuery)". Next I was presented with a what appears to be the text of the jQuery Library v1.8.3. I
clicked File| Save As, andsaved it to a directory named "C:\jQuery" with the name jquery-1.8.3.js
2. I created a test html page in Visual Studio 2010 as follows. This page is
in the same directory "C:\jQuery. I named the page "FirstJqueryPage_start.htm".
***********Source of page***********
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>First JQuery Page</title> <script src="jquery-1.8.3.js" type="text/javascript"></script> <script type="text/javascript"> $("document").ready(Function() { alert("The Page Just Loaded!"); }); </script> </head> <body> </body> </html>
***************End Source***************
3. The problem is when I try to open this in Internet Explorer or FireFox.
Nothing happens. According to the Lynda.com jQuery Essential training,
the popup alert box should fire.
Any idea what I'm doing wrong.
thanks
Dave.