This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15038|Reply: 2

[JavaScript] Use JS to realize the three-level linkage menu of provinces and cities

[Copy link]
Posted on 6/13/2015 3:30:18 PM | | | |


The screenshot is as above, you need to set the browser to compatibility mode to allow active content, otherwise the content will not be displayed

Code:

  1. <!doctype html>
  2. <html>
  3. <head>
  4.     <title></title>
  5.         <meta charset="utf-8">
  6.     <scrip去掉t src="js/jquery-1.4.2.min.js" type="text/javascrip去掉t"></scrip去掉t>
  7.     <scrip去掉t src="js/Ctry/select.js" type="text/javascrip去掉t"></scrip去掉t>
  8. </head>
  9. <body>
  10.     省:<select id="SelectProvince" name="SelectProvince">
  11.     </select>
  12.      市:<select id="SelectCity" name="SelectCity">
  13.     </select>
  14.      区:<select id="SelectDistrict" name="SelectDistrict">
  15.     </select>
  16. </body>
  17. </html>
Copy code


Code Packs: 省市区三级联动.zip (65.18 KB, Number of downloads: 3, 售价: 1 粒MB)




Previous:C# language method of "converting string format datetime strings to DateTime type"
Next:2014 Tencent Cloud Linux Server Tutorial
Posted on 6/15/2015 4:58:43 PM |
Why use js
Posted on 8/19/2015 9:11:04 PM |
In the attachment
jquery uses ajax request database for provincial and municipal linkage
http://www.itsvse.com/thread-2232-1-1.html
(Source: Wuhan Software Engineering Vocational College)


Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com