日期:2014-05-16 浏览次数:20684 次
<html>
  <head>
    <script src="jquery-1.2.js"></script>
    <script>
      $(document).ready(
        function () {
          $.ajax({
            url: "ajax.error.php",
            timeout: 1000,
            error: function (xmlHttpRequest, error) {
              console.info(xmlHttpRequest, error);
            }
          });
        }
      );
    </script>
  </head>
</html>