这是一个php页面执行结果显示,我只能看到结果,不能看见源文件。页面一直不出来,看了一下源文件每次都是止执行到document.write(" <tr 后面的class='trType'就是不执行。
function create_query_result() { document.write("  <tr>       ");
document.write("      <td width='100%'>  ");
document.write("        <table border='0' cellpadding='1' cellspacing='2' width='100%' bgcolor='#FFFFFF'> ");
document.write("          <tr class='trType'>                                                                              ");
document.write("            <td width='100%' bgcolor='#E6E6E6' align='center'>信息</td>                                ");
document.write("          </tr>               ");
document.write("        </table>

解决方案 »

  1.   

    程序没有问题,因为别的机子都可以,只有几台IE升级到6.0还是不行,是不是Ie设置有问题
      

  2.   

    多了:
    function create_query_result() {
      

  3.   

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    document.write(" <tr 后面的class='trType'就是不执行。 // 少了 ");
    function create_query_result() //多了  {  //多了  
    document.write("  <tr>       ");
    document.write("      <td width='100%'>  ");
    document.write("        <table border='0' cellpadding='1' cellspacing='2' width='100%' bgcolor='#FFFFFF'> ");
    document.write("          <tr class='trType'>                                                                              ");
    document.write("            <td width='100%' bgcolor='#E6E6E6' align='center'>信息</td>                                ");
    document.write("          </tr>               ");
    document.write("        </table>// 少了 ");//-->
    </SCRIPT>