如何查看FireBug指出的错误

时间:2012-09-06 10:41:53

标签: firebug

在右上角是一个2,显示错误计数bu无处显示实际错误是什么?我想使用FireBug进入javascript

<html>
  <head>
    <title>The resource cannot be found.</title>
    <style>
     body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
     p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
     b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
     H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
     H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
     pre {font-family:"Lucida Console";font-size: .9em}
     .marker {font-weight: bold; color: black;text-decoration: none;}
     .version {color: gray;}
     .error {margin-bottom: 10px;}
     .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
    </style>
</head>

<body bgcolor="white">

        <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

        <h2> <i>The resource cannot be found.</i> </h2></span>

        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

        <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
        <br><br>

        <b> Requested URL: </b>/Scripts/jquery.dataTables.min.js<br><br>

以上只是html的一部分。 这到底是怎么回事? 感谢

1 个答案:

答案 0 :(得分:0)

打开“网络”标签以启动并观察响应。还要检查发送的内容,标题等。

data可能是null。在这种情况下,您将永远不会通过IF

相关问题