开发者

Runtime JScript error: object expected

Help! As soon as enable script debugging I get this error. It breaks on the following block:

<table>
<tr>
   <td style="width: 100px">
    <asp:TextBox ID="txtRun" runat="server" OnTextChanged="txtRun_TextChanged"></asp:TextBox>
</td>
<td style="width: 100px">
<asp:Button ID="btnFilter" runat="server" Text="Show Elements" OnClick="btnFilter_Click" />
</td>
</tr&g开发者_Go百科t;
</table>

The cursor jumps to the last tag. I am lost. Thank you in advance.


The actual error is that it cannot properly determine the line the error happened; it's actually somewhere else in the code, maybe because of a missing brace, comma, etc. What JS error are you getting? You may have to dig through your code without debugging support to find it. Also try FireFox with FireBug, as this can really help.

EDIT: After reading the comments, try putting in the debugger; statement, which will cause the browser to stop execution in your method, and allow you to debug. If IE doesn't work, trie FireFox with Firebug.

HTH.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜