I wrote:
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>
Mystery solved: the html file was saved as UTF-16. Firefox didn't like it. Adelle.