Can't load jquery on Apache

Can't load jquery on Apache

Hi, All:
   I have a problem, when I load jquery.js from local, my test server is Apache 2.2.14 and PHP 5.3.1.
   The code is :

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>jQuery Starterkit</title>
  6. <script language="javascript" src="lib/jquery-1.4.2.min.js"></script>
  7. <script language="javascript">
  8. $(function() {
  9.     $("input").click(function(){
  10.         alert('Hello World!');
  11.     });
  12. });
  13. </script>
  14. </head>
  15. <body>
  16. <lable>pwd : </lable><input type="text" name="text" value="name"/>
  17. </body>
  18. </html>

The browser alert (Missing Objects) in localhost. But if I change src to 'http://code.jquery.com/jquery-1.4.2.min.js', or double click html and run in the browser, it takes effective.
So I think there are some problems in my Apache conf file.
How can I fix it?