wy_trip_list.js
上传用户:hnxqingdao
上传日期:2013-05-22
资源大小:1283k
文件大小:2k
源码类别:

其他行业

开发平台:

ASP/ASPX

  1. var onecount;
  2. onecount=0;
  3. subcat = new Array();
  4. subcat[0] = new Array("旧金山","2","旧金山");
  5. subcat[1] = new Array("新加坡","2","新加坡");
  6. subcat[2] = new Array("纽约","2","纽约");
  7. subcat[3] = new Array("木耳本","2","木耳本");
  8. subcat[4] = new Array("日本","2","日本");
  9. subcat[5] = new Array("泰国","2","泰国");
  10. subcat[6] = new Array("缅甸","2","缅甸");
  11. subcat[7] = new Array("巴西","2","巴西");
  12. subcat[8] = new Array("韩国","2","韩国");
  13. subcat[9] = new Array("俄罗斯","2","俄罗斯");
  14. subcat[10] = new Array("印度","2","印度");
  15. subcat[11] = new Array("尼日利亚","2","尼日利亚");
  16. subcat[12] = new Array("乌拉圭","2","乌拉圭");
  17. subcat[13] = new Array("新加坡","2","新加坡");
  18. subcat[14] = new Array("尼泊尔","2","尼泊尔");
  19. subcat[15] = new Array("刚果","2","刚果");
  20. subcat[16] = new Array("黑山","2","黑山");
  21. subcat[17] = new Array("沈阳","1","沈阳");
  22. subcat[18] = new Array("大连","1","大连");
  23. subcat[19] = new Array("北京","1","北京");
  24. subcat[20] = new Array("哈尔滨","1","哈尔滨");
  25. subcat[21] = new Array("四川","1","四川");
  26. subcat[22] = new Array("上海","1","上海");
  27. subcat[23] = new Array("福建","1","福建");
  28. subcat[24] = new Array("广州","1","广州");
  29. subcat[25] = new Array("香港","1","香港");
  30. subcat[26] = new Array("新疆","1","新疆");
  31. onecount=25;
  32. function changelocation(locationid)
  33. {
  34. document.myform.Nclassid.length = 0; 
  35. //document.myform.city.length=0;
  36. var locationid=locationid;
  37. var i;
  38. for (i=0;i < onecount; i++)
  39. {
  40. if (subcat[i][1] == locationid)
  41. document.myform.Nclassid.options[document.myform.Nclassid.length] = new Option(subcat[i][0], subcat[i][2]);
  42. //document.myform.city.options[document.myform.city.length] = new Option(subcat[i][0], subcat[i][2]);
  43. }