不会啊,我在用intrabob调试VC的ISAPI程序都蛮好,这东东太好了。
你的document是写在script标签里吗?

解决方案 »

  1.   

    <HTML>
    <HEAD>
    </HEAD>
    <BODY>
    <SCRIPT language=JavaScript type="text/javascript" SRC="xmldb.js"></SCRIPT>
    <SCRIPT language=JavaScript type="text/javascript" SRC="xmldisp.js"></SCRIPT><FORM NAME=DataForm1>
    <TABLE><TR><TD COLSPAN=2>
    <TABLE BORDER=1><TR>
    <TH>EmpNo</TH>
    <TH>LastName</TH>
    <TH>FirstName</TH>
    <TH>PhoneExt</TH>
    <TH>HireDate</TH>
    <TH>Salary</TH>
    <TH>*</TH>
    </TR><TR><TD><DIV><INPUT TYPE=TEXT NAME="DataGrid1_EmpNo" SIZE=10 onFocus='if(xml_ready)DataGrid1_Disp.xfocus(this);' onkeydown='if(xml_ready)DataGrid1_Disp.keys(this);'></DIV></TD>
    <TD><DIV><INPUT TYPE=TEXT NAME="DataGrid1_LastName" SIZE=20 onFocus='if(xml_ready)DataGrid1_Disp.xfocus(this);' onkeydown='if(xml_ready)DataGrid1_Disp.keys(this);'></DIV></TD>
    <TD><DIV><INPUT TYPE=TEXT NAME="DataGrid1_FirstName" SIZE=15 onFocus='if(xml_ready)DataGrid1_Disp.xfocus(this);' onkeydown='if(xml_ready)DataGrid1_Disp.keys(this);'></DIV></TD>
    <TD><DIV><INPUT TYPE=TEXT NAME="DataGrid1_PhoneExt" SIZE=4 onFocus='if(xml_ready)DataGrid1_Disp.xfocus(this);' onkeydown='if(xml_ready)DataGrid1_Disp.keys(this);'></DIV></TD>
    <TD><DIV><INPUT TYPE=TEXT NAME="DataGrid1_HireDate" SIZE=18 onFocus='if(xml_ready)DataGrid1_Disp.xfocus(this);' onkeydown='if(xml_ready)DataGrid1_Disp.keys(this);'></DIV></TD>
    <TD><DIV><INPUT TYPE=TEXT NAME="DataGrid1_Salary" SIZE=10 onFocus='if(xml_ready)DataGrid1_Disp.xfocus(this);' onkeydown='if(xml_ready)DataGrid1_Disp.keys(this);'></DIV></TD>
    <TD><DIV><INPUT TYPE=TEXT NAME="StatusColumn" SIZE=1></DIV></TD>
    </TR>
    </TABLE></TD>
    </TR></TABLE></FORM>
    <XML ID=XMLBroker1_Doc>
    <#DATAPACKET XMLBROKER=XMLBroker1></XML><SCRIPT language=JavaScript type="text/javascript">
    var XMLBroker1_RS = new xmlRowSet(XMLBroker1_Doc, null, null);
    var DataForm1 = document.forms['DataForm1'];
    var DataGrid1_Names = new Array("EmpNo", "LastName", "FirstName", 
        "PhoneExt", "HireDate", "Salary");
    var DataGrid1_IDs = new Array(DataForm1.DataGrid1_EmpNo, 
        DataForm1.DataGrid1_LastName, DataForm1.DataGrid1_FirstName, 
        DataForm1.DataGrid1_PhoneExt, DataForm1.DataGrid1_HireDate, 
        DataForm1.DataGrid1_Salary);
    var DataGrid1_Disp = new xmlDisplay(XMLBroker1_RS, DataGrid1_IDs, DataGrid1_Names, DataForm1.StatusColumn);
    xml_ready=true;
    </SCRIPT></BODY>
    </HTML>
      

  2.   

    哇,眼都花了。不用这么写的,<SCRIPT language=JavaScript type="text/javascript">
    只用<script>即可。还有就是 javascript 是网景的东东。
    咱们IE用的是JScript.language=JScript 告诉你一个调试JScript的办法,先把所有script标签里的东东都删去,看还有错误没。
    然后一个个的加,或删掉自己觉得可能有错的地方,一步步慢慢就找到了。
    一般浏览器提示并不一定是真正错误的地方。