索趣科技的答案
你的内容太长了, 我只取一级分类那部分来做,你试下
-------------------------------------------------------------------------------------
<body>
<SCRIPT LANGUAGE="JavaScript" defer="defer">
<!--
function checkinfo(oForm)
{
var oRas = oForm.da_lei;
var tFlag = false;
for(var i = 0; i < oRas.length; i++){
if(oRas[i].checked){
tFlag = true;
break;
}
}
if(tFlag == false){
alert('请选择一级分类');
return false;
}
return true;
}
//-->
</script>
<!-- 中间文件开始 -->
<FORM id=WriteInfo name=WriteInfo action=UserCenter.asp?Action=Add method=post _onsubmit="return checkinfo(this)">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol1() type=radio value=32 name=da_lei>
时尚消费</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol2() type=radio value=31 name=da_lei>
婚姻交友</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol3() type=radio value=30 name=da_lei>
生活服务</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol4() type=radio value=28 name=da_lei>
招生培训</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol5() type=radio value=27 name=da_lei>
出国资讯</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol6() type=radio value=26 name=da_lei>
招聘专栏</FONT></TD>
</TR>
</TABLE>
</div></td>
</tr><tr>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol7() type=radio value=14 name=da_lei>
求职专栏</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol8() type=radio value=9 name=da_lei>
二手转让</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol9() type=radio value=5 name=da_lei>
出兑求兑</FONT></TD>
</TR>
</TABLE>
</div></td>
<td valign="top"><div align="center">
<TABLE id=dldalei _style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0>
<TR>
<TD class=menu10><FONT face=宋体>
<INPUT _onclick=rewritecol10() type=radio value=1 name=da_lei>
房产信息</FONT></TD>
</TR>
</TABLE>
</div></td>
</tr>
<tr><td height="2" colspan="6"><img src="Images/Line.gif"><input type="submit" value="提交"></td></tr>
</table>
</FORM>
</body>
</html>