这是一个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>
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>
function create_query_result() {
<!--
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>