1234567891011121314151617 |
- //城市选择控件
- Namespace.register("U.Control.City"); //命名空间
- //城市选择控件主函数
- U.Control.City.Choose = function () {
- var spbtk19 = $$("div", { "class": "U_Control_City_szdCity" }, document.body);
- var spcountry = $$("select", { "id": "country", "className": "U_Control_City_spcountry", "onchange": "U.U.XGSZST($('select', $(this).Parent()), [1, 2], true)" }, spbtk19);
- var spsf = $$("select", { "id": "province", "className": "U_Control_City_spsf", "onchange": "U.U.XGSZST($('select', $(this).Parent()), [2], true)" }, spbtk19);
- var spcity = $$("select", { "id": "city", "className": "U_Control_City_spcity" }, spbtk19);
- var CtiyInfo = { "Country": null, "Province": null, "City": null };
- U.U.LCJ(spbtk19, CtiyInfo);
- return spbtk19;
- }
|