上一页 1 ··· 3 4 5 6 7
摘要: 二级联动下拉列表(select),都是从数据库中取值,其中第二级为可多选列表(multiple).若要实现二级也是下拉菜单,可以将multiple改了即可。<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>全动态二级联动下拉列表</title></head><body><?/*********************************** 阅读全文
posted @ 2013-01-14 11:57 hasayaki 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: <form name="f1"><select name="s1" onchange="chg(document.f1.s1,document.f1.s2)"><option value="江西">江西</option><option value="福建">福建</option></select><select name="s2"><option value="1& 阅读全文
posted @ 2013-01-14 11:26 hasayaki 阅读(422) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <script type="text/javascript"> //Ajax实现下拉框二级级联,根据第一个下拉框的值改变第二个下拉框内的列表 //根据浏览器的类型,创建xmlHttpRequest对象 function createXmlHttpRequest() { if(window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLHTTP"); } else if( window.XMLHttpReq... 阅读全文
posted @ 2013-01-14 11:24 hasayaki 阅读(231) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7