Hi, Aaron, and thanks for the reply.
 
I'm getting:
 
"An error has occurred in the script on this page."
 
Line: 11
Char: 7
Error: Object expected
Code: 0
URL: file:///G:/Website%20Trials/jQuery/jquery_01.html
<file:///G:\Website%20Trials\jQuery\jquery_01.html> 
 
Rick
 
 
 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Aaron Heimlich
Sent: Sunday, January 14, 2007 4:16 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Newbie: Ok... how do I code this?
 
On 1/14/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
             $(document).ready(function(){
                          $("a").bind("click", function(){
                           alert("Thanks for visiting!");
                          });
             });

I don't see anything wrong with this. What kind of error are you getting?

-- 
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com 
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to