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