In http://ip.qq.com/'s website has qq own JS province city three level linkage
QQ is used to refer to external JS to achieve three-level linkage. JS as follows: Http://ip.qq.com/js/geo.js
<!DOCTYPE HTML><HTML><Head><title>QQ JS Province Urban three-level linkage</title><!--Direct use of QQ's provincial and municipal data -<!--<script type= "Text/javascript" src= "Http://ip.qq.com/js/geo.js" ></script> -<Scripttype= "Text/javascript"src= "Geo.js"></Script></Head><Bodyonload= "Setup ();p reselect (' Shaanxi province ');p Romptinfo ();"> <form> <Selectclass= "Select"name= "Province"ID= "S1"> <option></option> </Select> <Selectclass= "Select"name= "City"ID= "S2"> <option></option> </Select> <Selectclass= "Select"name= "Town"ID= "S3"> <option></option> </Select> <inputID= "Address"name= "Address"type= "hidden"value="" /> <inputonclick= "alert (document.getElementById (' address '). value); return false;"type= "Submit"value= "Submit" /> </form><Script>//This function is necessary because this function is called every time the address is changed in the Geo.jsfunctionPromptinfo () {varAddress=document.getElementById ('Address'); varS1=document.getElementById ('S1'); varS2=document.getElementById ('S2'); varS3=document.getElementById ('S3'); Address.value=S1.value+S2.value+S3.value;}</Script></Body></HTML>