<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript" src="location.js"></script> <script type="text/javascript" src="YlChinaArea.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".ChinaArea").jChinaArea({ aspnet:true, s1:"北京市",//默认选中的省名 s2:"北京市",//默认选中的市名 s3:"朝阳区"//默认选中的县区名 }) }) </script> <title>无标题文档</title> </head> <body> <div class="ChinaArea"> <select id="province" name="province" style="width: 100px;"></select> <select id="city" name="city" style="width: 100px;"></select> <select id="county" name="county" style="width: 120px;"> </select> </div> </body> </html>
转载于:http://hi.baidu.com/dpxdqx/blog/item/0e6461df1446271b63279898.html
相关资源:jquery 省市二级联动