[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<script language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
subcat[0] = new Array("单面胶带","7829","8044");
subcat[1] = new Array("电工胶带","7829","8045");
subcat[2] = new Array("金属胶带","7829","8050");
subcat[3] = new Array("屏蔽胶带","7829","8051");
subcat[4] = new Array("屏蔽/导电衬垫","10444","10446");
subcat[5] = new Array("保护类胶带","12104","12105");
subcat[6] = new Array("遮蔽类胶带","12104","12532");
subcat[7] = new Array("VHB胶带","12533","12534");
subcat[8] = new Array("双面泡棉胶带","12533","12535");
subcat[9] = new Array("薄型双面胶带","12533","12992");
subcat[10] = new Array("厚型双面胶带","12533","12993");
subcat[11] = new Array("结构粘接胶带","12533","13823");
subcat[12] = new Array("热粘胶带","12533","13824");
subcat[13] = new Array("双面胶带","12533","13825");
subcat[14] = new Array("双面胶膜","12533","13826");
subcat[15] = new Array("ATG薄膜胶","12533","13827");
subcat[16] = new Array("导电及导热胶带","12533","13829");
subcat[17] = new Array("光学透明胶膜","12533","13830");
subcat[18] = new Array("可重复粘贴/暂时固定胶带","12533","13832");
subcat[19] = new Array("工业扣件系列","12533","13833");
subcat[20] = new Array("结构型胶粘剂","14977","14978");
subcat[21] = new Array("快干胶","14977","14981");
subcat[22] = new Array("接触型胶粘剂","14982","14984");
subcat[23] = new Array("塑料和橡胶胶粘剂","14982","14987");
subcat[24] = new Array("喷胶","14982","14991");
subcat[25] = new Array("热熔胶和胶枪","14982","14994");
subcat[26] = new Array("纤维胶带","12104","15233");
subcat[27] = new Array("环氧薄膜胶带","15235","15236");
subcat[28] = new Array("聚酰亚胺薄膜胶带","15235","15237");
subcat[29] = new Array("防静电胶带","15235","15238");
subcat[30] = new Array("聚四氟乙烯薄膜胶带","15235","15239");
subcat[31] = new Array("聚酯薄膜胶带","15235","15240");
subcat[32] = new Array("醋酸酯布胶带","15235","15241");
subcat[33] = new Array("合成薄膜胶带","15235","15242");
subcat[34] = new Array("玻璃布胶带","15235","15243");
subcat[35] = new Array("报事贴","19181","19182");
subcat[36] = new Array("胶带及切割座","19181","19183");
subcat[37] = new Array("优视灯","19181","19184");
subcat[38] = new Array("电脑屏幕/键盘清洁剂","19181","19222");
onecount=39;
function changelocation(locationid)
{
document.form1.Nclassid.length = 0;
var locationid=locationid;
var i;
document.form1.Nclassid.options[0] = new Option('请选择二类',0); //二级列表的第一项:显示请选择二类,若选择的值为0
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.form1.Nclassid.options[document.form1.Nclassid.length] = new Option(subcat[i][0], subcat[i][2]);
}
}
}
</script>
<form action="cp_cx.asp?cardid=J0002049" name="form1" method="post" >
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td>
<select name="classid" size="1" class="form1" onChange="changelocation(document.form1.classid.options[document.form1.classid.selectedIndex].value)">
<option value=0 selected>一级分类</option>
<option value="7829">胶带</option>
<option value="8048">热缩套管</option>
<option value="8049">环氧粉末</option>
<option value="10444">屏蔽材料</option>
<option value="12104">单面胶带</option>
<option value="12533">双面胶带</option>
<option value="12994">汽车胶带(丙烯酸泡棉双面胶带)</option>
<option value="14977">结构型胶粘剂</option>
<option value="14982">非结构型胶粘剂</option>
<option value="15235">特种电气胶带</option>
<option value="19181">文具类产品</option>
</select> <select name="Nclassid" size="1" class="form1">
<option value=0 selected>二级分类</option>
</select>
</form>
</BODY>
</HTML>[/CODE]
怎么javascript版人气这么差?我这个老版主真的看不下去了。