Yes... the script reference looks like this:
<script type="text/javascript" src="2007_0114_jquery.js"></script>
I found the problem, however.... I had renamed the js file to
"2007_0114_jquery.js",
but the file was actually named "2007_0114_jquery-latest.js"...
Duh!
Thanks, guys.
Rick
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of David
Sent: Sunday, January 14, 2007 4:27 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Newbie: Ok... how do I code this?
Rick Faircloth schreef:
>
> <script type="text/javascript">
>
>
>
> $(document).ready(function(){
>
> $("a").bind("click", function(){
>
> alert("Thanks for visiting!");
>
> });
>
> });
>
>
>
> </script>
>
Did you insert jquery before your own script?
<script type="text/javascript" src="jquery.js"></script>
You also can replace $(document).ready(function with $(function.
David
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/