JS添加国家下拉表单
Download Source Code from attachment, unzip and get the .js file Put this code between your and section: <script src="countries3.js" type="text/javascript"></script> Put this code between your and section: Select Country: <select onchange="print_state('state',this.selectedIndex);" id="country" name = "country"></select> City/District/State: <select name ="state" id = "state"></select> <script language="javascript">print_country("country");</script> Please note that, we are using two select tags, which are actual drop-down boxes. Here I’ve chosen “country