HTML part
js part
The data returned by the backend is
{ state:1, data:{ {1:{ areaname:"呼和浩特市" id:"150100" level:"2" pid:"150000" }... }}
More jQuery based on BootStrap style implementation For articles related to Infinitus regional linkage, please pay attention to the PHP Chinese website!
Related articles:
Detailed explanation of Bootstrap’s pure CSS3 arrow button style