Is your path correct? src="jquery-1.1.4.js" and is the file there? I know, both stupid questions, but I can't remember how many times I did that.
On 8/24/07, atomicnuke <[EMAIL PROTECTED]> wrote: > > > I've been trying to follow the tutorials for the simple things and > they aren't working. This is just a short snippet: > > <script type="text/javascript" src="jquery-1.1.4.js"></script> > <script type="text/javascript"> > $(document).ready(function(){ > $("a").click(function(){ > alert("Thanks for visiting!"); > }); > }); > </script> > </head> > > <body> > <a href="#">Click</a> > </body> > > But I just get an error in firebug '$ is not defined" on line $ > (document).ready(function(){ > > I've been using mootools because I was daunted looking at jQuery, but > thought I'd give it a try. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com