An error like that makes me think that tje jquery-1.1.4.js file
doesn't exist - you should verify that it is there - and if not, is
there a page that we can see of it in action? (All the code that you
show should work just fine.

--John

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.
>
>

Reply via email to