You included the *wrong* jQuery file.....  you want "jquery.js", not
the "ui" one

jQuery:
http://jquery.com

jQuery UI:
http://ui.jquery.com



On Nov 8, 6:16 am, John <[EMAIL PROTECTED]> wrote:
> Hmm, This is starting off very well. I followed the instructions on
> the jQuery home page to set up an alert.
> My code is as follows:
>
>   <html>
>   <head>
>     <script type="text/javascript" src="jquery_ui.js"></script>
>     <script type="text/javascript">
>          $(document).ready(function(){
>                 $("a").click(function(event){
>                 alert("Thanks for visiting!");});
>          });
>     </script>
>   </head>
>   <body>
>     <a href="http://jquery.com/";>jQuery</a>
>   </body>
>   </html>
>
> I just get an error 'Object Expected'
>
> Help! :D

Reply via email to