| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 589 人关注过本帖
标题:请问用ASP怎样实现这种功能?
取消只看楼主 加入收藏
mgzll
Rank: 1
等 级:新手上路
帖 子:80
专家分:0
注 册:2005-3-18
收藏
 问题点数:0 回复次数:1 
请问用ASP怎样实现这种功能?
请把代码复制到一个文本文件更名为.html后再运行。 <html> <head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <title>无标题</title> <link rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/JavaScript" src="/includes/browsecategory.js"></script> </head> <body bgcolor="#FFFFFF" topmargin="0" marginheight="5"> <table width="191" border="0" align="center" cellpadding="0" cellspacing="0"> <form name="productsearch1" method="get" action="http://www.enet.com.cn/marketplace/productfilter.jsp"; target="_blank" onsubmit="return dosubmitbs(this)"> <tr> <td width="191"> <script language="JavaScript"> <!-- Begin var SubMenuinfo = new Array( new Array( new Array("请先选择大类","") ), new Array( new Array("笔记本","2_4"), new Array("台式机","2_3"), new Array("服务器","2_70"), new Array("单机多用户","2_47337"), new Array("工作站","2_5"), new Array("准系统","2_6"), new Array("其它整机","2_6") ), new Array( new Array("数码相机","95_31"), new Array("数码摄像机","95_46"), new Array("相机镜头","95_38691"), new Array("MP4播放机","95_45540"), new Array("MP3播放机","95_100"), new Array("电脑辞典","95_45587"), new Array("MD播放机","95_34659"), new Array("掌上电脑/PDA","95_101"), new Array("数码摄像头","95_42"), new Array("摄影包","95_42986"), new Array("数码录音笔","95_102"), new Array("手机","95_97"), new Array("闪光灯","95_44240"), new Array("数码相机伴侣","95_42983"), new Array("滤镜","95_42985"), new Array("电池","95_42984"), new Array("数码配件","95_99"), new Array("移动存储","95_30"), new Array("传统相机","95_42835"), new Array("读卡器","95_42982"), new Array("三角架","95_43071"), new Array("闪存卡","95_53"), new Array("耳机","95_37168"), new Array("数码教育","95_43539"), new Array("其他数码","95_50630") ), new Array( new Array("CPU","7_20"), new Array("主板","7_21"), new Array("硬盘","7_24"), new Array("CD-RW光盘刻录机","7_12"), new Array("内存","7_22"), new Array("机箱","7_14"), new Array("鼠标","7_23"), new Array("DVD-ROM","7_18"), new Array("声卡","7_11"), new Array("显示卡","7_13"), new Array("键盘","7_8"), new Array("CD-ROM","7_9"), new Array("CD-R光盘刻录机","7_15"), new Array("软驱","7_16"), new Array("电源","7_17"), new Array("SCSI/RAID卡","7_25"), new Array("图文信息卡","7_26"), new Array("触摸屏","7_27"), new Array("视频采集卡","7_10"), new Array("音箱","7_38"), new Array("散热器","7_41106"), new Array("DVD刻录机","7_55005"), new Array("其他配件","7_19") ), new Array( new Array("喷墨打印机","28_45"), new Array("扫描仪","28_41"), new Array("移动存储","28_30"), new Array("激光打印机","28_34"), new Array("UPS","28_39"), new Array("多功能一体机","28_40"), new Array("大幅面打印机","28_43"), new Array("针式打印机","28_44"), new Array("热升华打印机","28_49"), new Array("线材","28_43615"), new Array("其他外设","28_35"), new Array("标签打印机","28_44347"), new Array("传真机","28_44868"), new Array("电子白板","28_46346"), new Array("手写语音输入","28_29"), new Array("游戏娱乐设备","28_98"), new Array("墨粉","28_59"), new Array("复印机","28_47157"), new Array("智能卡","28_53805") ), new Array( new Array("闪存卡","52_53"), new Array("光盘","52_55"), new Array("软盘","52_56"), new Array("磁带","52_57"), new Array("墨盒","52_58"), new Array("墨粉","52_59"), new Array("硒鼓","52_60"), new Array("色带","52_61"), new Array("纸张","52_54"), new Array("连续供墨系统","52_53766") ), new Array( new Array("转换器","63_64"), new Array("其他网络类产品","63_65"), new Array("MODEM","63_66"), new Array("网卡","63_67"), new Array("集线器","63_69"), new Array("服务器","63_70"), new Array("网络交换机","63_73"), new Array("路由器","63_74"), new Array("功能服务器","63_51632"), new Array("代理服务器","63_51633"), new Array("无线局域网","63_43149"), new Array("工作站","63_5"), new Array("KVM切换器","63_51619"), new Array("多用户卡","63_51635"), new Array("频宽管理","63_51636"), new Array("收发器","63_50638"), new Array("模块接口卡","63_49855"), new Array("网络延长器","63_51634"), new Array("复用器","63_51637"), new Array("打印服务器","63_76") ), new Array( new Array("图形图像","77_78"), new Array("操作系统","77_81"), new Array("教学软件","77_84"), new Array("病毒与安全","77_87"), new Array("办公软件","77_88"), new Array("多媒体软件","77_89"), new Array("数据库软件","77_93"), new Array("卡拉OK软件","77_51625"), new Array("软件加密","77_51620"), new Array("通讯软件","77_51621"), new Array("桌面工具","77_51624"), new Array("排版软件","77_51622"), new Array("进销存软件","77_51623") ), new Array( new Array("RPG类游戏","103_104"), new Array("动作类游戏","103_105"), new Array("射击类游戏","103_106"), new Array("冒险类游戏","103_107"), new Array("模拟类游戏","103_108"), new Array("竞技类游戏","103_109"), new Array("体育类游戏","103_110"), new Array("策略类游戏","103_111"), new Array("益智类游戏","103_112"), new Array("其他类游戏","103_113") ), new Array( new Array("手机","114_97"), new Array("上网卡","114_122"), new Array("IP电话卡","114_120"), new Array("传真机","114_115"), new Array("对讲机","114_116"), new Array("车载设备","114_42975"), new Array("电话机","114_118"), new Array("GPS定位仪","114_40193"), new Array("网络电话卡","114_121"), new Array("其它产品","114_42976") ), new Array( new Array("无线网卡","43148_43149"), new Array("无线网桥","43148_43150"), new Array("接入器(AP)","43148_43151"), new Array("蓝牙适配器","43148_43152"), new Array("无线路由器","43148_43153"), new Array("无线网关","43148_43154"), new Array("天馈系统","43148_43155"), new Array("无线上网卡","43148_44623"), new Array("无线打印服务器","43148_44981") ), new Array( new Array("布线设备","43009_43010"), new Array("电缆与双绞线","43009_43011"), new Array("光纤设备","43009_43012"), new Array("光纤线缆","43009_43013"), new Array("测试仪","43009_48056"), new Array("防火防磁文件柜","43009_51638"), new Array("机柜及控制台","43009_48055") ), new Array( new Array("监控系统","48057_48058"), new Array("门禁对讲","48057_48059"), new Array("防盗及报警","48057_48060"), new Array("防护装备","48057_48062"), new Array("警用设备","48057_48063") ), new Array( new Array("入侵检测","48065_48066"), new Array("防火墙","48065_42949"), new Array("病毒与安全","48065_48067"), new Array("物理隔离","48065_48069"), new Array("网关","48065_48068") ), new Array( new Array("等离子显示器","47_50"), new Array("投影机","47_47"), new Array("电子白板","47_46346"), new Array("液晶显示器","47_33"), new Array("扫描仪","47_41"), new Array("数字高清","47_51629"), new Array("普通显示器","47_32"), new Array("触摸屏","47_44223"), new Array("投影灯泡","47_51630"), new Array("视频展示台","47_46222"), new Array("屏幕","47_49336"), new Array("触控一体机","47_51"), new Array("其他","47_51631") ), new Array( new Array("中央控制系统","248_51607"), new Array("KVM切换器","248_51619"), new Array("多媒体视频","248_10"), new Array("数字采编系统","248_51609"), new Array("视频会议","248_51610"), new Array("多屏显示","248_51611"), new Array("矩阵切换器","248_51612"), new Array("共享器","248_51617"), new Array("无线视频","248_51615"), new Array("数字语音室","248_51613"), new Array("分配器","248_51618"), new Array("音频设备","248_51616") ), new Array( new Array("磁盘阵列","999_50655"), new Array("磁带机","999_37"), new Array("光盘镜像服务器","999_51639"), new Array("移动存储","999_30"), new Array("磁带库","999_48"), new Array("NAS网络存储器","999_50659"), new Array("数据仓库","999_51640"), new Array("RAID卡","999_50656"), new Array("SAN网络存储","999_51274"), new Array("SCSI硬盘","999_50657"), new Array("SCSI卡","999_25"), new Array("SCSI配件","999_50658"), new Array("其它","999_51641") ) ); function fillSelectFromArray(selectCtrlt,ind) { var i, j; var prompt; var itemArray=new Array (); itemArray=SubMenuinfo[ind]; for (i = selectCtrlt.options.length; i >= 0; i--) { selectCtrlt.remove(0); } for(key in itemArray) { newOption=document.createElement("option"); newOption.value=itemArray[key][1]; newOption.text=itemArray[key][0]; selectCtrlt.add(newOption); val=itemArray[key][1]; } } // End --> </script> <select name="layer1id" onChange="fillSelectFromArray(productsearch1.layer2_id,this.selectedIndex)"> <option>全部大类</option> <option value="2">整机</option> <option value="95">数码</option> <option value="7">配件</option> <option value="28">办公外设</option> <option value="52">耗材</option> <option value="63">网络基础</option> <option value="77">常用软件</option> <option value="103">游戏</option> <option value="114">通讯</option> <option value="43148">无线网</option> <option value="43009">综合布线</option> <option value="48057">安防监控</option> <option value="48065">网络安全</option> <option value="47">投影显示</option> <option value="248">语音视频</option> <option value="999">网络存储</option> </select> <select name="layer2_id" style="width:90px"> <option>选择小类</option> <!--option value="2_4">笔记本</option> <option value="2_3">台式机</option> <option value="2_00">服务器</option> <option value="2_47337">单机多用户</option> <option value="2_5">工作站</option> <option value="2_6">准系统</option> <option value="2_6">其他整机类产品</option--> </select> </td> <input type="hidden" name="CategoryId" value=""> <!--input type="hidden" name="OnSale" value="1"--> <input type='hidden' name='QPrice' value=""> </tr></form> </table> </body> </html>
搜索更多相关主题的帖子: ASP 
2005-04-27 16:38
mgzll
Rank: 1
等 级:新手上路
帖 子:80
专家分:0
注 册:2005-3-18
收藏
得分:0 
不懂,你可以帮改一下吗?
2005-04-27 17:28
快速回复:请问用ASP怎样实现这种功能?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.041859 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved