What does the error console say?

cheers

Michael Lawson
Content Tools Developer, Global Solutions, ibm.com
Phone:  1-919-517-1568 Tieline:  255-1568
E-mail:  mjlaw...@us.ibm.com

'Examine my teachings critically, as a gold assayer would test gold. If you
find they make sense, conform to your experience, and don't harm yourself
or others, only then should you accept them.'


                                                                       
  From:       Adelle Hartley <ade...@akemi.com.au>                     
                                                                       
  To:         jquery-en@googlegroups.com                               
                                                                       
  Date:       02/23/2009 09:45 AM                                      
                                                                       
  Subject:    [jQuery] Hello world example - works in IE6; fails in firefox 3
                                                                       






Hi all,

Any idea why this works in ie6 but not firefox?

<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
   $("a").click(function()
   {
     alert("Hello world!");
   });
});
</script>
</head>
<body>
     <a href="#">Link</a>
</body>
</html>

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

Reply via email to