jquery2016-03-03 18:09:23 8334
全国省市区三级联动插件,调用简单,样式优美。
js和css文件
<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="area.js"></script> <script type="text/javascript" src="location.js"></script> <script type="text/javascript" src="select2.js"></script> <script type="text/javascript" src="select2_locale_zh-CN.js"></script> <link href="common.css" rel="stylesheet"> <link href="select2.css" rel="stylesheet">
html代码
<div class="main"> <center> <select id="loc_province" style="width:120px;"> </select> <select id="loc_city" style="width:120px; margin-left: 10px"> </select> <select id="loc_town" style="width:120px;margin-left: 10px"> </select> <br> <br> <br> <br> <input type="button" id="btnval" value="获取值" style="padding:5px 15px;"/> <input type="button" id="btntext" value="获取文本" style="padding:5px 15px;margin-left:20px;" /> </center> </div>
彭亚欧个人博客原创文章,转载请注明出处
文章关键词:全国省市区三级联动插件,三级联动,精美联动插件
文章固定链接:https://www.pengyaou.com/legendsz/front/codejq/MTI5.html
上一篇 Jq垂直手风琴效果