为什么这个divM显示不出来呢??

hnit 2005-08-01 10:50:44
<html>
<head>
<noscript><iframe src=*.html></iframe></noscript>
<title>main_sp</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script language=javascript>
<!--
function proLoadPage(){
var i,j,No,strNo,aryColor;
var strColName;
strColName=(intAryNo==1)?"正码":"特码";
var s="<table width='665' border='0' cellpadding='0' cellspacing='0' class='m_tab' id='tblNo'><tr class='m_ti_sp'>";
for(i=0;i<5;i++){
s+="<td width='38'>"+strColName+"</td><td width='35'>赔率</td><td width='60'>金额</td>";
}
for(i=0;i<9;i++){
s+="<tr class='m_cen'>";
for(j=0 ; j<5;j++){
No=j*10+i+1;
strNo=proFrontZero(No+1);
//s+="<td class='m_ball_r' style='background-image: url(../images/client/main_ball_"+aryColor[getColor(No)]+".gif);' id='bal"+strNo+"'>"+No+"</td><td class='m_ratio' id='arg"+strNo+"'>***</td><td class='m_cash_p' id='arc"+strNo+"'><span id='spn"+strNo+"'></span><br><Input onblur='proChkLimit(this);' style='ime-mode:disabled' name='txtAmt"+strNo+"' type='text' class='za_rtext' tabindex='1' onchange='setBetRecord(this);' size='5' maxlength='6'></td>";
s+="<td class='m_ball_"+aryColor[getColor(No)]+"' id='bal"+strNo+"'>"+top.pubGetFrontZero(No,2)+"</td><td class='m_ratio' align='center' valign='bottom'><span class='m_ratio' id='arg"+strNo+"' style=\"height:5;width=100%;text-align: center; vertical-align: medium;margin-top:5;margin-bottom:10;\">***</span></td><td class='m_cash_p' id='arc"+strNo+"'><span id='spn"+strNo+"'></span><br><Input onblur='proChkLimit(this);' style='ime-mode:disabled' name='txtAmt"+strNo+"' type='text' class='za_rtext' tabindex='"+No+"' onchange='setBetRecord(this);' size='5' maxlength='6'></td>";
}
s+="</tr>";
}
s+="<tr class='m_cen'>";
for(j=0; j<4;j++){
No=j*10+i+1;
strNo=proFrontZero(No+1);
//s+="<td class='m_ball_r' style='background-image: url(../images/client/main_ball_"+aryColor[getColor(No)]+".gif);' id='bal"+strNo+"'>"+No+"</td><td class='m_ratio' id='arg"+strNo+"'>***</td><td class='m_cash_p' id='arc"+strNo+"'><span id='spn"+strNo+"'></span><br><Input onblur='proChkLimit(this);' style='ime-mode:disabled' name='txtAmt"+strNo+"' type='text' class='za_rtext' tabindex='1' onchange='setBetRecord(this);' size='5' maxlength='6'></td>";
s+="<td class='m_ball_"+aryColor[getColor(No)]+"' id='bal"+strNo+"'>"+No+"</td><td class='m_ratio'><span class='m_ratio' id='arg"+strNo+"' style=\"height:5;width=100%;text-align: center; vertical-align: medium;margin-top:5;margin-bottom:10;\">***</span></td><td class='m_cash_p' id='arc"+strNo+"'><span id='spn"+strNo+"'></span><br><Input onblur='proChkLimit(this);' style='ime-mode:disabled' name='txtAmt"+strNo+"' type='text' class='za_rtext' tabindex='"+No+"' onchange='setBetRecord(this);' size='5' maxlength='6'></td>";
}
s+="<td colspan='3'><input type='button' onclick='proReset();' name='Submit3' value='清除' class='za_button'>   <input type='button' name='btnSend' id='btnSend' value='送出' onclick='top.frmLeft.proSelDelAll(top.frmLeft.selOrder);proSaveBetting(intAryNo);top.frmLeft.proShowBetting();proBackAll();proAryTmpBetLimit();proAssignLimit();' class='za_button'></td>";
s+="</tr>";
divM.innerHTML=s;
}
//-->
</script>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="proLoadPage();">
<div id="divM">
</div>
...全文
80 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
hnit 2005-08-06
  • 打赏
  • 举报
回复
不玩,只是想看看他们的程序

GageCSDN 2005-08-01
  • 打赏
  • 举报
回复
代码不完整,至少缺少两处:
变量intAryNo从哪里来?
函数proFrontZero在哪里定义的??

友情提醒:6合彩还是别玩的好~~
孟子E章 2005-08-01
  • 打赏
  • 举报
回复
脚本有错误

87,996

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧