码迷,mamicode.com
首页 > Web开发 > 详细

职业的三级联动下拉表单选项(jquery写法)

时间:2019-10-22 13:00:12      阅读:88      评论:0      收藏:0      [点我收藏+]

标签:net   电工   加工   src   code   标准   专用   交通   仪器仪表   

html部分

 1 <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
 2 <select class="professionOne">
 3   <option>---请选择职业类别---</option>
 4 </select>
 5 <select class="professionTwo">
 6   <option>---请选择职业---</option>
 7 </select>
 8 <select class="professionThree">
 9   <option>---请选择具体职业---</option>
10 </select>

js部分

  1 $(function(){
  2 var level1 = [{id:10000,name:‘党的机关、国家机关、群众团体和社会组织、企事业单位负责人‘,pid:10000,lv:1},
  3 {id:20000,name:‘专业技术人员‘,pid:20000,lv:1},
  4 {id:30000,name:‘办事人员和有关人员‘,pid:30000,lv:1},
  5 {id:40000,name:‘社会生产服务和生活服务人员‘,pid:40000,lv:1},
  6 {id:50000,name:‘农、林、牧、渔业生产及辅助人员‘,pid:50000,lv:1},
  7 {id:60000,name:‘生产制造及有关人员‘,pid:60000,lv:1},
  8 {id:70000,name:‘军人‘,pid:70000,lv:1},
  9 {id:80000,name:‘不便分类的其他从业人员‘,pid:80000,lv:1},
 10 {id:99999,name:‘失业、无业或离退休‘,pid:99999,lv:1}];
 11 
 12 var level2 = [{id:10100,name:‘中国gcd机关负责人‘,pid:10000,lv:2},
 13 {id:10200,name:‘国家机关负责人‘,pid:10000,lv:2},
 14 {id:10300,name:‘民主党派和工商联负责人‘,pid:10000,lv:2},
 15 {id:10400,name:‘人民团体和群众团体、社会组织及其他成员组织负责人‘,pid:10000,lv:2},
 16 {id:10500,name:‘基层群众自治组织负责人‘,pid:10000,lv:2},
 17 {id:10600,name:‘企事业单位负责人‘,pid:10000,lv:2},
 18 {id:20100,name:‘科学研究人员‘,pid:20000,lv:2},
 19 {id:20200,name:‘工程技术人员‘,pid:20000,lv:2},
 20 {id:20300,name:‘农业技术人员‘,pid:20000,lv:2},
 21 {id:20400,name:‘飞机和船舶技术人员‘,pid:20000,lv:2},
 22 {id:20500,name:‘卫生专业技术人员‘,pid:20000,lv:2},
 23 {id:20600,name:‘经济和金融专业人员‘,pid:20000,lv:2},
 24 {id:20700,name:‘法律、社会和宗教专业人员‘,pid:20000,lv:2},
 25 {id:20800,name:‘教学人员‘,pid:20000,lv:2},
 26 {id:20900,name:‘文学艺术、体育专业人员‘,pid:20000,lv:2},
 27 {id:21000,name:‘新闻出版、文化专业人员‘,pid:20000,lv:2},
 28 {id:29900,name:‘其他专业技术人员‘,pid:20000,lv:2},
 29 {id:30100,name:‘办事人员‘,pid:30000,lv:2},
 30 {id:30200,name:‘安全和消防人员‘,pid:30000,lv:2},
 31 {id:39900,name:‘其他办事人员和有关人员‘,pid:30000,lv:2},
 32 {id:40100,name:‘批发与零售服务人员‘,pid:40000,lv:2},
 33 {id:40200,name:‘交通运输、仓储和邮政业服务人员‘,pid:40000,lv:2},
 34 {id:40300,name:‘住宿和餐饮服务人员‘,pid:40000,lv:2},
 35 {id:40400,name:‘信息传输、软件和信息技术服务人员‘,pid:40000,lv:2},
 36 {id:40500,name:‘金融服务人员‘,pid:40000,lv:2},
 37 {id:40600,name:‘房地产服务人员‘,pid:40000,lv:2},
 38 {id:40700,name:‘祖赁和商务服务人员‘,pid:40000,lv:2},
 39 {id:40800,name:‘技术辅助服务人员‘,pid:40000,lv:2},
 40 {id:40900,name:‘水利、环境和公共设施管理服务人员‘,pid:40000,lv:2},
 41 {id:41000,name:‘居民服务人员‘,pid:40000,lv:2},
 42 {id:41100,name:‘电力、燃气及水供应服务人员‘,pid:40000,lv:2},
 43 {id:41200,name:‘修理及制作服务人员‘,pid:40000,lv:2},
 44 {id:41300,name:‘文化、体育和娱乐服务人员‘,pid:40000,lv:2},
 45 {id:41400,name:‘健康服务人员‘,pid:40000,lv:2},
 46 {id:49900,name:‘其他社会生产和生活服务人员‘,pid:40000,lv:2},
 47 {id:50100,name:‘农业生产人员‘,pid:50000,lv:2},
 48 {id:50200,name:‘林业生产人员‘,pid:50000,lv:2},
 49 {id:50300,name:‘畜牧业生产人员‘,pid:50000,lv:2},
 50 {id:50400,name:‘渔业生产人员‘,pid:50000,lv:2},
 51 {id:50500,name:‘农林牧渔生产辅助人员‘,pid:50000,lv:2},
 52 {id:59900,name:‘其他农、林、牧、渔业生产及辅助人员‘,pid:50000,lv:2},
 53 {id:60100,name:‘农副产品加工人员‘,pid:60000,lv:2},
 54 {id:60200,name:‘食品、饮料生产加工人员‘,pid:60000,lv:2},
 55 {id:60300,name:‘烟草及其制品加工人员‘,pid:60000,lv:2},
 56 {id:60400,name:‘纺织、针织、印染人员‘,pid:60000,lv:2},
 57 {id:60500,name:‘纺织品、服装和皮革、毛皮制品加工制作人员‘,pid:60000,lv:2},
 58 {id:60600,name:‘木材加工、家具与木制品制作人员‘,pid:60000,lv:2},
 59 {id:60700,name:‘纸及纸制品生产加工人员‘,pid:60000,lv:2},
 60 {id:60800,name:‘印刷和记录煤介复制人员‘,pid:60000,lv:2},
 61 {id:60900,name:‘文教、工美、体育和娱乐用品制作人员‘,pid:60000,lv:2},
 62 {id:61000,name:‘石油加工和炼焦、煤化工生产人员‘,pid:60000,lv:2},
 63 {id:61100,name:‘化学原料和化学制品制造人员‘,pid:60000,lv:2},
 64 {id:61200,name:‘医药制造人员‘,pid:60000,lv:2},
 65 {id:61300,name:‘化学纤维制造人员‘,pid:60000,lv:2},
 66 {id:61400,name:‘橡胶和塑料制品制造人员‘,pid:60000,lv:2},
 67 {id:61500,name:‘非金属矿物制品制造人员‘,pid:60000,lv:2},
 68 {id:61600,name:‘采矿人员‘,pid:60000,lv:2},
 69 {id:61700,name:‘金属冶炼和压延加工人员‘,pid:60000,lv:2},
 70 {id:61800,name:‘机械制造基础加工人员‘,pid:60000,lv:2},
 71 {id:61900,name:‘金属制品制造人员‘,pid:60000,lv:2},
 72 {id:62000,name:‘通用设备制造人员‘,pid:60000,lv:2},
 73 {id:62100,name:‘专用设备制造人员‘,pid:60000,lv:2},
 74 {id:62200,name:‘汽车制造人员‘,pid:60000,lv:2},
 75 {id:62300,name:‘铁路、船舶、航空设备制造人员‘,pid:60000,lv:2},
 76 {id:62400,name:‘电气机械和器材制造人员‘,pid:60000,lv:2},
 77 {id:62500,name:‘计算机、通信和其他电子设备制造人员‘,pid:60000,lv:2},
 78 {id:62600,name:‘仪器仪表制造人员‘,pid:60000,lv:2},
 79 {id:62700,name:‘废弃资源综合利用人员‘,pid:60000,lv:2},
 80 {id:62800,name:‘电力、热力、气体、水生产和输配人员‘,pid:60000,lv:2},
 81 {id:62900,name:‘建筑施工人员‘,pid:60000,lv:2},
 82 {id:63000,name:‘运输设备和通用工程机械操作人员及有关人员‘,pid:60000,lv:2},
 83 {id:63100,name:‘生产辅助人员‘,pid:60000,lv:2},
 84 {id:69900,name:‘其他生产制造及有关人员‘,pid:60000,lv:2}];
 85 
 86 var level3 = [{id:10201,name:‘国家权力机关负责人‘,pid:10200,lv:3},
 87 {id:10202,name:‘国家行政机关负责人‘,pid:10200,lv:3},
 88 {id:10203,name:‘人民政协机关负责人‘,pid:10200,lv:3},
 89 {id:10204,name:‘人民法院和人民检察院负责人‘,pid:10200,lv:3},
 90 {id:10401,name:‘人民团体和群众团体负责人‘,pid:10400,lv:3},
 91 {id:10402,name:‘社会团体负责人‘,pid:10400,lv:3},
 92 {id:10403,name:‘民办非企业单位负责人‘,pid:10400,lv:3},
 93 {id:10404,name:‘社会中介组织负责人‘,pid:10400,lv:3},
 94 {id:10405,name:‘基金会负责人‘,pid:10400,lv:3},
 95 {id:10406,name:‘宗救组织负责人‘,pid:10400,lv:3},
 96 {id:10601,name:‘企业负责人‘,pid:10600,lv:3},
 97 {id:10602,name:‘事业单位负责人‘,pid:10600,lv:3},
 98 {id:20101,name:‘哲学研究人员‘,pid:20100,lv:3},
 99 {id:20102,name:‘经济学研究人员‘,pid:20100,lv:3},
100 {id:20103,name:‘法学研究人员‘,pid:20100,lv:3},
101 {id:20104,name:‘教育学研究人员‘,pid:20100,lv:3},
102 {id:20105,name:‘历史学研究人员‘,pid:20100,lv:3},
103 {id:20107,name:‘农学研究人员‘,pid:20100,lv:3},
104 {id:20108,name:‘医学研究人员‘,pid:20100,lv:3},
105 {id:20109,name:‘管理学研究人员‘,pid:20100,lv:3},
106 {id:20111,name:‘军事学研究人员‘,pid:20100,lv:3},
107 {id:20112,name:‘文学研究人员‘,pid:20100,lv:3},
108 {id:20113,name:‘理学研究人员‘,pid:20100,lv:3},
109 {id:20114,name:‘工学研究人员‘,pid:20100,lv:3},
110 {id:20115,name:‘艺术学研究人员‘,pid:20100,lv:3},
111 {id:20199,name:‘其他科学研究人员‘,pid:20100,lv:3},
112 {id:20201,name:‘地质勘探工程技术人员‘,pid:20200,lv:3},
113 {id:20202,name:‘测绘和地理信息工程技术人员‘,pid:20200,lv:3},
114 {id:20203,name:‘矿山工程技术人员‘,pid:20200,lv:3},
115 {id:20204,name:‘石油天然气工程技术人员‘,pid:20200,lv:3},
116 {id:20205,name:‘冶金工程技术人员‘,pid:20200,lv:3},
117 {id:20206,name:‘化工工程技术人员‘,pid:20200,lv:3},
118 {id:20207,name:‘机械工程技术人员‘,pid:20200,lv:3},
119 {id:20208,name:‘航空工程技术人员‘,pid:20200,lv:3},
120 {id:20209,name:‘电子工程技术人员‘,pid:20200,lv:3},
121 {id:20210,name:‘信息和通信工程技术人员‘,pid:20200,lv:3},
122 {id:20211,name:‘电气工程技术人员‘,pid:20200,lv:3},
123 {id:20212,name:‘电力工程技术人员‘,pid:20200,lv:3},
124 {id:20213,name:‘邮政和快递工程技术人员‘,pid:20200,lv:3},
125 {id:20214,name:‘广播电影电视及演艺设备工程技术人员‘,pid:20200,lv:3},
126 {id:20215,name:‘道路和水上运输工程技术人员‘,pid:20200,lv:3},
127 {id:20216,name:‘民用航空工程技术人员‘,pid:20200,lv:3},
128 {id:20217,name:‘铁道工程技术人员‘,pid:20200,lv:3},
129 {id:20218,name:‘建筑工程技术人员‘,pid:20200,lv:3},
130 {id:20219,name:‘建材工程技术人员‘,pid:20200,lv:3},
131 {id:20220,name:‘林业工程技术人员‘,pid:20200,lv:3},
132 {id:20221,name:‘水利工程技术人员‘,pid:20200,lv:3},
133 {id:20222,name:‘海洋工程技术人员‘,pid:20200,lv:3},
134 {id:20223,name:‘纺织服装工程技术人员‘,pid:20200,lv:3},
135 {id:20224,name:‘食品工程技术人员‘,pid:20200,lv:3},
136 {id:20225,name:‘气象工程技术人员‘,pid:20200,lv:3},
137 {id:20226,name:‘地震工程技术人员‘,pid:20200,lv:3},
138 {id:20227,name:‘环境保护工程技术人员‘,pid:20200,lv:3},
139 {id:20228,name:‘安全工程技术人员‘,pid:20200,lv:3},
140 {id:20229,name:‘标准化、计量、质量和认证认可工程技术人员‘,pid:20200,lv:3},
141 {id:20230,name:‘管理(工业)工程技术人员‘,pid:20200,lv:3},
142 {id:20231,name:‘检验检疫工程技术人员‘,pid:20200,lv:3},
143 {id:20232,name:‘制药工程技术人员‘,pid:20200,lv:3},
144 {id:20233,name:‘印刷复制工程技术人员‘,pid:20200,lv:3},
145 {id:20234,name:‘工业(产品)设计工程技术人员‘,pid:20200,lv:3},
146 {id:20235,name:‘康复辅具工程技术人员‘,pid:20200,lv:3},
147 {id:20236,name:‘轻工工程技术人员‘,pid:20200,lv:3},
148 {id:20237,name:‘土地整治工程技术人员‘,pid:20200,lv:3},
149 {id:20290,name:‘兵器工程技术人员‘,pid:20200,lv:3},
150 {id:20291,name:‘航天工程技术人员‘,pid:20200,lv:3},
151 {id:20299,name:‘其他工程技术人员‘,pid:20200,lv:3},
152 {id:20301,name:‘土壤肥料技术人员‘,pid:20300,lv:3},
153 {id:20302,name:‘农业技术指导人员‘,pid:20300,lv:3},
154 {id:20303,name:‘植物保护技术人员‘,pid:20300,lv:3},
155 {id:20304,name:‘园艺技术人员‘,pid:20300,lv:3},
156 {id:20305,name:‘作物遗传育种栽培技术人员‘,pid:20300,lv:3},
157 {id:20306,name:‘兽医兽药技术人员‘,pid:20300,lv:3},
158 {id:20307,name:‘畜牧与草业技术人员‘,pid:20300,lv:3},
159 {id:20308,name:‘水产技术人员‘,pid:20300,lv:3},
160 {id:20309,name:‘农业工程技术人员‘,pid:20300,lv:3},
161 {id:20399,name:‘其他农业技术人员‘,pid:20300,lv:3},
162 {id:20401,name:‘飞行人员和领航人员‘,pid:20400,lv:3},
163 {id:20402,name:‘船舶指挥和引航人员‘,pid:20400,lv:3},
164 {id:20499,name:‘其他飞机和船舶技术人员‘,pid:20400,lv:3},
165 {id:20501,name:‘西医医师‘,pid:20500,lv:3},
166 {id:20502,name:‘中医医师‘,pid:20500,lv:3},
167 {id:20503,name:‘中西医结合医师‘,pid:20500,lv:3},
168 {id:20504,name:‘民族医医师‘,pid:20500,lv:3},
169 {id:20505,name:‘公共卫生与健康医师‘,pid:20500,lv:3},
170 {id:20506,name:‘药学技术人员‘,pid:20500,lv:3},
171 {id:20507,name:‘医疗卫生技术人员‘,pid:20500,lv:3},
172 {id:20508,name:‘护理人员‘,pid:20500,lv:3},
173 {id:20509,name:‘乡村医生‘,pid:20500,lv:3},
174 {id:20599,name:‘其他卫生专业技术人员‘,pid:20500,lv:3},
175 {id:20601,name:‘经济专业人员‘,pid:20600,lv:3},
176 {id:20602,name:‘统计专业人员‘,pid:20600,lv:3},
177 {id:20603,name:‘会计专业人员‘,pid:20600,lv:3},
178 {id:20604,name:‘审计专业人员‘,pid:20600,lv:3},
179 {id:20605,name:‘税务专业人员‘,pid:20600,lv:3},
180 {id:20606,name:‘评估专业人员‘,pid:20600,lv:3},
181 {id:20607,name:‘商务专业人员‘,pid:20600,lv:3},
182 {id:20608,name:‘人力资源专业人员‘,pid:20600,lv:3},
183 {id:20609,name:‘银行专业人员‘,pid:20600,lv:3},
184 {id:20610,name:‘保险专业人员‘,pid:20600,lv:3},
185 {id:20611,name:‘证券专业人员‘,pid:20600,lv:3},
186 {id:20612,name:‘知识产权专业人员‘,pid:20600,lv:3},
187 {id:20699,name:‘其他经济和金融专业人员‘,pid:20600,lv:3},
188 {id:20701,name:‘法官‘,pid:20700,lv:3},
189 {id:20702,name:‘检察官‘,pid:20700,lv:3},
190 {id:20703,name:‘律师‘,pid:20700,lv:3},
191 {id:20704,name:‘公证员‘,pid:20700,lv:3},
192 {id:20705,name:‘司法鉴定人员‘,pid:20700,lv:3},
193 {id:20706,name:‘审判辅助人员‘,pid:20700,lv:3},
194 {id:20707,name:‘法律顾问‘,pid:20700,lv:3},
195 {id:20708,name:‘宗教教职人员‘,pid:20700,lv:3},
196 {id:20709,name:‘社会工作专业人员‘,pid:20700,lv:3},
197 {id:20799,name:‘其他法律、社会和宗教专业人员‘,pid:20700,lv:3},
198 {id:20801,name:‘高等教育教师‘,pid:20800,lv:3},
199 {id:20802,name:‘中等职业教育教师‘,pid:20800,lv:3},
200 {id:20803,name:‘中小学教育教师‘,pid:20800,lv:3},
201 {id:20804,name:‘幼儿教育教师‘,pid:20800,lv:3},
202 {id:20805,name:‘特殊教育教师‘,pid:20800,lv:3},
203 {id:20899,name:‘其他教学人员‘,pid:20800,lv:3},
204 {id:20901,name:‘文艺创作与编导人员‘,pid:20900,lv:3},
205 {id:20902,name:‘音乐指挥与演员‘,pid:20900,lv:3},
206 {id:20903,name:‘电影电视制作专业人员‘,pid:20900,lv:3},
207 {id:20904,name:‘舞台专业人员‘,pid:20900,lv:3},
208 {id:20905,name:‘美术专业人员‘,pid:20900,lv:3},
209 {id:20906,name:‘工艺美术与创意设计专业人员‘,pid:20900,lv:3},
210 {id:20907,name:‘体育专业人员‘,pid:20900,lv:3},
211 {id:20999,name:‘其他文学艺术、体育专业人员‘,pid:20900,lv:3},
212 {id:21001,name:‘记者‘,pid:21000,lv:3},
213 {id:21002,name:‘编辑‘,pid:21000,lv:3},
214 {id:21003,name:‘校对员‘,pid:21000,lv:3},
215 {id:21004,name:‘播音员及节目主持人‘,pid:21000,lv:3},
216 {id:21005,name:‘翻译人员‘,pid:21000,lv:3},
217 {id:21006,name:‘图书资料与微缩摄影专业人员‘,pid:21000,lv:3},
218 {id:21007,name:‘档案专业人员‘,pid:21000,lv:3},
219 {id:21008,name:‘考古及文物保护专业人员‘,pid:21000,lv:3},
220 {id:21099,name:‘其他新闻出版、文化专业人员‘,pid:21000,lv:3},
221 {id:30101,name:‘行政业务办理人员‘,pid:30100,lv:3},
222 {id:30102,name:‘行政事务处理人员‘,pid:30100,lv:3},
223 {id:30103,name:‘行政执法和仲裁人员‘,pid:30100,lv:3},
224 {id:30199,name:‘其他办事人员‘,pid:30100,lv:3},
225 {id:30201,name:‘人民警察‘,pid:30200,lv:3},
226 {id:30202,name:‘保卫人员‘,pid:30200,lv:3},
227 {id:30203,name:‘消防和应急救援人员‘,pid:30200,lv:3},
228 {id:30299,name:‘其他安全和消防人员‘,pid:30200,lv:3},
229 {id:40101,name:‘采购人员‘,pid:40100,lv:3},
230 {id:40102,name:‘销售人员‘,pid:40100,lv:3},
231 {id:40103,name:‘贸易经纪代理人员‘,pid:40100,lv:3},
232 {id:40104,name:‘再生物资回收人员‘,pid:40100,lv:3},
233 {id:40105,name:‘特殊商品购销人员‘,pid:40100,lv:3},
234 {id:40199,name:‘其他批发与零售服务人员‘,pid:40100,lv:3},
235 {id:40201,name:‘轨道交通运输服务人员‘,pid:40200,lv:3},
236 {id:40202,name:‘道路运输服务人员‘,pid:40200,lv:3},
237 {id:40203,name:‘水上运输服务人员‘,pid:40200,lv:3},
238 {id:40204,name:‘航空运输服务人员‘,pid:40200,lv:3},
239 {id:40205,name:‘装卸搬运和运输代理服务人员‘,pid:40200,lv:3},
240 {id:40206,name:‘仓储人员‘,pid:40200,lv:3},
241 {id:40207,name:‘邮政和快递服务人员‘,pid:40200,lv:3},
242 {id:40299,name:‘其他交通运输、仓储和邮政业服务人员‘,pid:40200,lv:3},
243 {id:40301,name:‘住宿服务人员‘,pid:40300,lv:3},
244 {id:40302,name:‘餐饮服务人员‘,pid:40300,lv:3},
245 {id:40399,name:‘其他住宿和餐饮服务人员‘,pid:40300,lv:3},
246 {id:40401,name:‘信息通信业务人员‘,pid:40400,lv:3},
247 {id:40402,name:‘信息通信网络维护人员‘,pid:40400,lv:3},
248 {id:40403,name:‘广播电视传输服务人员‘,pid:40400,lv:3},
249 {id:40404,name:‘信息通信网络运行管理人员‘,pid:40400,lv:3},
250 {id:40405,name:‘软件和信息技术服务人员‘,pid:40400,lv:3},
251 {id:40499,name:‘其他信息传输、软件和信息技术服务人员‘,pid:40400,lv:3},
252 {id:40501,name:‘银行服务人员‘,pid:40500,lv:3},
253 {id:40502,name:‘证券服务人员‘,pid:40500,lv:3},
254 {id:40503,name:‘期货服务人员‘,pid:40500,lv:3},
255 {id:40504,name:‘保险服务人员‘,pid:40500,lv:3},
256 {id:40505,name:‘典当服务人员‘,pid:40500,lv:3},
257 {id:40506,name:‘信托服务人员‘,pid:40500,lv:3},
258 {id:40599,name:‘其他金融服务人员‘,pid:40500,lv:3},
259 {id:40601,name:‘物业管理服务人员‘,pid:40600,lv:3},
260 {id:40602,name:‘房地产中介服务人员‘,pid:40600,lv:3},
261 {id:40699,name:‘其他房地产服务人员‘,pid:40600,lv:3},
262 {id:40701,name:‘租赁业务人员‘,pid:40700,lv:3},
263 {id:40702,name:‘商务咨询服务人员‘,pid:40700,lv:3},
264 {id:40703,name:‘人力资源服务人员‘,pid:40700,lv:3},
265 {id:40704,name:‘旅游及公共游览场所服务人员‘,pid:40700,lv:3},
266 {id:40705,name:‘安全保护服务人员‘,pid:40700,lv:3},
267 {id:40706,name:‘市场管理服务人员‘,pid:40700,lv:3},
268 {id:40707,name:‘会议及展览服务人员‘,pid:40700,lv:3},
269 {id:40799,name:‘其他租赁和商务服务人员‘,pid:40700,lv:3},
270 {id:40801,name:‘气象服务人员‘,pid:40800,lv:3},
271 {id:40802,name:‘海洋服务人员‘,pid:40800,lv:3},
272 {id:40803,name:‘测绘服务人员‘,pid:40800,lv:3},
273 {id:40804,name:‘地理信息服务人员‘,pid:40800,lv:3},
274 {id:40805,name:‘检验、检测和计量服务人员‘,pid:40800,lv:3},
275 {id:40806,name:‘环境监测服务人员‘,pid:40800,lv:3},
276 {id:40807,name:‘地质勘查人员‘,pid:40800,lv:3},
277 {id:40808,name:‘专业化设计服务人员‘,pid:40800,lv:3},
278 {id:40809,name:‘摄影扩印服务人员‘,pid:40800,lv:3},
279 {id:40899,name:‘其他技术辅助服务人员‘,pid:40800,lv:3},
280 {id:40901,name:‘水利设施管养人员‘,pid:40900,lv:3},
281 {id:40902,name:‘水文服务人员‘,pid:40900,lv:3},
282 {id:40903,name:‘水土保持人员‘,pid:40900,lv:3},
283 {id:40904,name:‘农田灌排人员‘,pid:40900,lv:3},
284 {id:40905,name:‘自然保护区和草地监护人员‘,pid:40900,lv:3},
285 {id:40906,name:‘野生动植物保护人员‘,pid:40900,lv:3},
286 {id:40907,name:‘环境治理服务人员‘,pid:40900,lv:3},
287 {id:40908,name:‘环境卫生服务人员‘,pid:40900,lv:3},
288 {id:40909,name:‘有害生物防制人员‘,pid:40900,lv:3},
289 {id:40910,name:‘绿化与园艺服务人员‘,pid:40900,lv:3},
290 {id:40999,name:‘其他水利、环境和公共设施管理服务人员‘,pid:40900,lv:3},
291 {id:41001,name:‘生活照料服务人员‘,pid:41000,lv:3},
292 {id:41002,name:‘服装裁剪和洗染织补人员‘,pid:41000,lv:3},
293 {id:41003,name:‘美容美发和浴池服务人员‘,pid:41000,lv:3},
294 {id:41004,name:‘保健服务人员‘,pid:41000,lv:3},
295 {id:41005,name:‘婚姻服务人员‘,pid:41000,lv:3},
296 {id:41006,name:‘殡葬服务人员‘,pid:41000,lv:3},
297 {id:41007,name:‘宠物服务人员‘,pid:41000,lv:3},
298 {id:41099,name:‘其他居民服务人员‘,pid:41000,lv:3},
299 {id:41101,name:‘电力供应服务人员‘,pid:41100,lv:3},
300 {id:41102,name:‘燃气供应服务人员‘,pid:41100,lv:3},
301 {id:41103,name:‘水供应服务人员‘,pid:41100,lv:3},
302 {id:41199,name:‘其他电力、燃气及水供应服务人员‘,pid:41100,lv:3},
303 {id:41201,name:‘汽车摩托车修理技术服务人员‘,pid:41200,lv:3},
304 {id:41202,name:‘计算机和办公设备维修人员‘,pid:41200,lv:3},
305 {id:41203,name:‘家用电子电器产品维修人员‘,pid:41200,lv:3},
306 {id:41204,name:‘日用产品修理服务人员‘,pid:41200,lv:3},
307 {id:41205,name:‘乐器维修人员‘,pid:41200,lv:3},
308 {id:41206,name:‘印章制作人员‘,pid:41200,lv:3},
309 {id:41299,name:‘其他修理及制作服务人员‘,pid:41200,lv:3},
310 {id:41301,name:‘群众文化活动服务人员‘,pid:41300,lv:3},
311 {id:41302,name:‘广播、电视、电影和影视录音制作人员‘,pid:41300,lv:3},
312 {id:41303,name:‘文物保护作业人员‘,pid:41300,lv:3},
313 {id:41304,name:‘健身和娱乐场所服务人员‘,pid:41300,lv:3},
314 {id:41305,name:‘文化、娱乐、体育经纪代理人员‘,pid:41300,lv:3},
315 {id:41399,name:‘其他文化、体育和娱乐服务人员‘,pid:41300,lv:3},
316 {id:41401,name:‘医疗辅助服务人员‘,pid:41400,lv:3},
317 {id:41402,name:‘健康咨询服务人员‘,pid:41400,lv:3},
318 {id:41403,name:‘康复矫正服务人员‘,pid:41400,lv:3},
319 {id:41404,name:‘公共卫生辅助服务人员‘,pid:41400,lv:3},
320 {id:41499,name:‘其他健康服务人员‘,pid:41400,lv:3},
321 {id:50101,name:‘作物种子(苗)繁育生产人员‘,pid:50100,lv:3},
322 {id:50102,name:‘农作物生产人员‘,pid:50100,lv:3},
323 {id:50199,name:‘其他农业生产人员‘,pid:50100,lv:3},
324 {id:50201,name:‘林木种苗繁育人员‘,pid:50200,lv:3},
325 {id:50202,name:‘营造林人员‘,pid:50200,lv:3},
326 {id:50203,name:‘森林经营和管护人员‘,pid:50200,lv:3},
327 {id:50204,name:‘木材采运人员‘,pid:50200,lv:3},
328 {id:50299,name:‘其他林业生产人员‘,pid:50200,lv:3},
329 {id:50301,name:‘畜禽种苗繁育人员‘,pid:50300,lv:3},
330 {id:50302,name:‘畜禽饲养人员‘,pid:50300,lv:3},
331 {id:50303,name:‘特种经济动物饲养人员‘,pid:50300,lv:3},
332 {id:50399,name:‘其他畜牧业生产人员‘,pid:50300,lv:3},
333 {id:50401,name:‘水产苗种繁育人员‘,pid:50400,lv:3},
334 {id:50402,name:‘水产养殖人员‘,pid:50400,lv:3},
335 {id:50403,name:‘水产捕捞及有关人员‘,pid:50400,lv:3},
336 {id:50499,name:‘其他渔业生产人员‘,pid:50400,lv:3},
337 {id:50501,name:‘农业生产服务人员‘,pid:50500,lv:3},
338 {id:50502,name:‘动植物疫病防治人员‘,pid:50500,lv:3},
339 {id:50503,name:‘农村能源利用人员‘,pid:50500,lv:3},
340 {id:50504,name:‘农村环境保护人员‘,pid:50500,lv:3},
341 {id:50505,name:‘农机化服务人员‘,pid:50500,lv:3},
342 {id:50506,name:‘农副林特产品初加工人员‘,pid:50500,lv:3},
343 {id:50599,name:‘其他农林牧渔生产辅助人员‘,pid:50500,lv:3},
344 {id:60101,name:‘粮油加工人员‘,pid:60100,lv:3},
345 {id:60102,name:‘饲料加工人员‘,pid:60100,lv:3},
346 {id:60103,name:‘制糖人员‘,pid:60100,lv:3},
347 {id:60104,name:‘畜禽制品加工人员‘,pid:60100,lv:3},
348 {id:60105,name:‘水产品加工人员‘,pid:60100,lv:3},
349 {id:60106,name:‘果蔬和坚果加工人员‘,pid:60100,lv:3},
350 {id:60107,name:‘淀粉和豆制品加工人员‘,pid:60100,lv:3},
351 {id:60199,name:‘其他农副产品加工人员‘,pid:60100,lv:3},
352 {id:60201,name:‘焙烤食品制造人员‘,pid:60200,lv:3},
353 {id:60202,name:‘糖制品加工人员‘,pid:60200,lv:3},
354 {id:60203,name:‘方便食品和罐头食品加工人员‘,pid:60200,lv:3},
355 {id:60204,name:‘乳制品加工人员‘,pid:60200,lv:3},
356 {id:60205,name:‘调味品及食品添加剂制作人员‘,pid:60200,lv:3},
357 {id:60206,name:‘酒、饮料及精制茶制造人员‘,pid:60200,lv:3},
358 {id:60299,name:‘其他食品、饮料生产加工人员‘,pid:60200,lv:3},
359 {id:60301,name:‘烟叶初加工人员‘,pid:60300,lv:3},
360 {id:60302,name:‘烟用材料生产人员‘,pid:60300,lv:3},
361 {id:60303,name:‘烟草制品生产人员‘,pid:60300,lv:3},
362 {id:60399,name:‘其他烟草及其制品加工人员‘,pid:60300,lv:3},
363 {id:60401,name:‘纤维预处理人员‘,pid:60400,lv:3},
364 {id:60402,name:‘纺纱人员‘,pid:60400,lv:3},
365 {id:60403,name:‘织造人员‘,pid:60400,lv:3},
366 {id:60404,name:‘针织人员‘,pid:60400,lv:3},
367 {id:60405,name:‘非织造布制造人员‘,pid:60400,lv:3},
368 {id:60406,name:‘印染人员‘,pid:60400,lv:3},
369 {id:60499,name:‘其他纺织、针织、印染人员‘,pid:60400,lv:3},
370 {id:60501,name:‘纺织品和服装剪裁缝纫人员‘,pid:60500,lv:3},
371 {id:60502,name:‘皮革、毛皮及其制品加工人员‘,pid:60500,lv:3},
372 {id:60503,name:‘羽绒羽毛加工及制品制造人员‘,pid:60500,lv:3},
373 {id:60504,name:‘鞋帽制作人员‘,pid:60500,lv:3},
374 {id:60599,name:‘其他纺织品、服装和皮革、毛皮制品加工制作人员‘,pid:60500,lv:3},
375 {id:60601,name:‘木材加工人员‘,pid:60600,lv:3},
376 {id:60602,name:‘人造板制造人员‘,pid:60600,lv:3},
377 {id:60603,name:‘木制品制造人员‘,pid:60600,lv:3},
378 {id:60604,name:‘家具制造人员‘,pid:60600,lv:3},
379 {id:60699,name:‘其他木材加工、家具与木制品制作人员‘,pid:60600,lv:3},
380 {id:60701,name:‘制浆造纸人员‘,pid:60700,lv:3},
381 {id:60702,name:‘纸制品制作人员‘,pid:60700,lv:3},
382 {id:60799,name:‘其他纸及纸制品生产加工人员‘,pid:60700,lv:3},
383 {id:60801,name:‘印刷人员‘,pid:60800,lv:3},
384 {id:60802,name:‘记录媒介复制人员‘,pid:60800,lv:3},
385 {id:60899,name:‘其他印刷和记录媒介复制人员‘,pid:60800,lv:3},
386 {id:60901,name:‘文教用品制作人员‘,pid:60900,lv:3},
387 {id:60902,name:‘乐器制作人员‘,pid:60900,lv:3},
388 {id:60903,name:‘工艺美术品制作人员‘,pid:60900,lv:3},
389 {id:60904,name:‘体育用品制作人员‘,pid:60900,lv:3},
390 {id:60905,name:‘玩具制作人员‘,pid:60900,lv:3},
391 {id:60999,name:‘其他文教、工美、体育和娱乐用品制作人员‘,pid:60900,lv:3},
392 {id:61001,name:‘石油炼制生产人员‘,pid:61000,lv:3},
393 {id:61002,name:‘炼焦人员‘,pid:61000,lv:3},
394 {id:61003,name:‘煤化工生产人员‘,pid:61000,lv:3},
395 {id:61099,name:‘其他石油加工和炼焦、煤化工生产人员‘,pid:61000,lv:3},
396 {id:61101,name:‘化工产品生产通用工艺人员‘,pid:61100,lv:3},
397 {id:61102,name:‘基础化学原料制造人员‘,pid:61100,lv:3},
398 {id:61103,name:‘化学肥料生产人员‘,pid:61100,lv:3},
399 {id:61104,name:‘农药生产人员‘,pid:61100,lv:3},
400 {id:61105,name:‘涂料、油墨、颜料及类似产品制造人员‘,pid:61100,lv:3},
401 {id:61106,name:‘合成树脂生产人员‘,pid:61100,lv:3},
402 {id:61107,name:‘合成橡胶生产人员‘,pid:61100,lv:3},
403 {id:61108,name:‘专用化学产品生产人员‘,pid:61100,lv:3},
404 {id:61109,name:‘火工品制造、保管、爆破及焰火产品制造人员‘,pid:61100,lv:3},
405 {id:61110,name:‘日用化学品生产人员‘,pid:61100,lv:3},
406 {id:61199,name:‘其他化学原料和化学制品制造人员‘,pid:61100,lv:3},
407 {id:61201,name:‘化学药品原料药制造人员‘,pid:61200,lv:3},
408 {id:61202,name:‘中药饮片加工人员‘,pid:61200,lv:3},
409 {id:61203,name:‘药物制剂人员‘,pid:61200,lv:3},
410 {id:61204,name:‘兽用药品制造人员‘,pid:61200,lv:3},
411 {id:61205,name:‘生物药品制造人员‘,pid:61200,lv:3},
412 {id:61299,name:‘其他医药制造人员‘,pid:61200,lv:3},
413 {id:61301,name:‘化学纤维原料制造人员‘,pid:61300,lv:3},
414 {id:61302,name:‘化学纤维纺丝及后处理人员‘,pid:61300,lv:3},
415 {id:61399,name:‘其他化学纤维制造人员‘,pid:61300,lv:3},
416 {id:61401,name:‘橡胶制品生产人员‘,pid:61400,lv:3},
417 {id:61402,name:‘塑料制品加工人员‘,pid:61400,lv:3},
418 {id:61499,name:‘其他橡胶和塑料制品制造人员‘,pid:61400,lv:3},
419 {id:61501,name:‘水泥、石灰、石膏及其制品制造人员‘,pid:61500,lv:3},
420 {id:61502,name:‘砖瓦石材等建筑材料制造人员‘,pid:61500,lv:3},
421 {id:61503,name:‘玻璃及玻璃制品生产加工人员‘,pid:61500,lv:3},
422 {id:61504,name:‘玻璃纤维及玻璃纤维增强塑料制品制造人员‘,pid:61500,lv:3},
423 {id:61505,name:‘陶瓷制品制造人员‘,pid:61500,lv:3},
424 {id:61506,name:‘耐火材料制品生产人员‘,pid:61500,lv:3},
425 {id:61507,name:‘石墨及炭素制品生产人员‘,pid:61500,lv:3},
426 {id:61508,name:‘高岭土、珍珠岩等非金属矿物加工人员‘,pid:61500,lv:3},
427 {id:61599,name:‘其他非金属矿物制品制造人员‘,pid:61500,lv:3},
428 {id:61601,name:‘矿物采选人员‘,pid:61600,lv:3},
429 {id:61602,name:‘石油和天然气开采与储运人员‘,pid:61600,lv:3},
430 {id:61603,name:‘采盐人员‘,pid:61600,lv:3},
431 {id:61699,name:‘其他采矿人员‘,pid:61600,lv:3},
432 {id:61701,name:‘炼铁人员‘,pid:61700,lv:3},
433 {id:61702,name:‘炼钢人员‘,pid:61700,lv:3},
434 {id:61703,name:‘铸铁管人员‘,pid:61700,lv:3},
435 {id:61704,name:‘铁合金冶炼人员‘,pid:61700,lv:3},
436 {id:61705,name:‘重有色金属冶炼人员‘,pid:61700,lv:3},
437 {id:61706,name:‘轻有色金属冶炼人员‘,pid:61700,lv:3},
438 {id:61707,name:‘稀贵金属冶炼人员‘,pid:61700,lv:3},
439 {id:61708,name:‘半导体材料制备人员‘,pid:61700,lv:3},
440 {id:61709,name:‘金属轧制人员‘,pid:61700,lv:3},
441 {id:61710,name:‘硬质合金生产人员‘,pid:61700,lv:3},
442 {id:61799,name:‘其他金属冶炼和压延加工人员‘,pid:61700,lv:3},
443 {id:61801,name:‘机械冷加工人员‘,pid:61800,lv:3},
444 {id:61802,name:‘机械热加工人员‘,pid:61800,lv:3},
445 {id:61803,name:‘机械表面处理加工人员‘,pid:61800,lv:3},
446 {id:61804,name:‘工装工具制造加工人员‘,pid:61800,lv:3},
447 {id:61899,name:‘其他机械制造基础加工人员‘,pid:61800,lv:3},
448 {id:61901,name:‘五金制品制作装配人员‘,pid:61900,lv:3},
449 {id:61999,name:‘其他金属制品制造人员‘,pid:61900,lv:3},
450 {id:62001,name:‘通用基础件装配制造人员‘,pid:62000,lv:3},
451 {id:62002,name:‘锅炉及原动设备制造人员‘,pid:62000,lv:3},
452 {id:62003,name:‘金属加工机械制造人员‘,pid:62000,lv:3},
453 {id:62004,name:‘物料搬运设备制造人员‘,pid:62000,lv:3},
454 {id:62005,name:‘泵、压缩机、阀门及类似机械制造人员‘,pid:62000,lv:3},
455 {id:62006,name:‘烘炉、水处理、衡器等设备制造人员‘,pid:62000,lv:3},
456 {id:62007,name:‘文化办公机械制造人员‘,pid:62000,lv:3},
457 {id:62099,name:‘其他通用设备制造人员‘,pid:62000,lv:3},
458 {id:62101,name:‘采矿、建筑专用设备制造人员‘,pid:62100,lv:3},
459 {id:62102,name:‘印刷生产专用设备制造人员‘,pid:62100,lv:3},
460 {id:62103,name:‘纺织服装和皮革加工专用设备制造人员‘,pid:62100,lv:3},
461 {id:62104,name:‘电子专用设备装配调试人员‘,pid:62100,lv:3},
462 {id:62105,name:‘农业机械制造人员‘,pid:62100,lv:3},
463 {id:62106,name:‘医疗器械制品和康复辅具生产人员‘,pid:62100,lv:3},
464 {id:62199,name:‘其他专用设备生产制造人员‘,pid:62100,lv:3},
465 {id:62201,name:‘汽车零部件、饰件生产加工人员‘,pid:62200,lv:3},
466 {id:62202,name:‘汽车整车制造人员‘,pid:62200,lv:3},
467 {id:62299,name:‘其他汽车制造人员‘,pid:62200,lv:3},
468 {id:62301,name:‘轨道交通运输设备制造人员‘,pid:62300,lv:3},
469 {id:62302,name:‘船舶制造人员‘,pid:62300,lv:3},
470 {id:62303,name:‘航空产品装配、调试人员‘,pid:62300,lv:3},
471 {id:62304,name:‘摩托车、自行车制造人员‘,pid:62300,lv:3},
472 {id:62399,name:‘其他铁路、船舶、航空设备制造人员‘,pid:62300,lv:3},
473 {id:62401,name:‘电机制造人员‘,pid:62400,lv:3},
474 {id:62402,name:‘输配电及控制设备制造人员‘,pid:62400,lv:3},
475 {id:62403,name:‘电线电缆、光纤光缆及电工器材制造人员‘,pid:62400,lv:3},
476 {id:62404,name:‘电池制造人员‘,pid:62400,lv:3},
477 {id:62405,name:‘家用电力器具制造人员‘,pid:62400,lv:3},
478 {id:62406,name:‘非电力家用器具制造人员‘,pid:62400,lv:3},
479 {id:62407,name:‘照明器具制造人员‘,pid:62400,lv:3},
480 {id:62408,name:‘电气信号设备装置制造人员‘,pid:62400,lv:3},
481 {id:62499,name:‘其他电气机械和器材制造人员‘,pid:62400,lv:3},
482 {id:62501,name:‘电子元件制造人员‘,pid:62500,lv:3},
483 {id:62502,name:‘电子器件制造人员‘,pid:62500,lv:3},
484 {id:62503,name:‘计算机制造人员‘,pid:62500,lv:3},
485 {id:62504,name:‘电子设备装配调试人员‘,pid:62500,lv:3},
486 {id:62599,name:‘其他计算机、通信和其他电子设备制造人员‘,pid:62500,lv:3},
487 {id:62601,name:‘仪器仪表装配人员‘,pid:62600,lv:3},
488 {id:62699,name:‘其他仪器仪表制造人员‘,pid:62600,lv:3},
489 {id:62701,name:‘废料和碎屑加工处理人员‘,pid:62700,lv:3},
490 {id:62799,name:‘其他废弃资源综合利用人员‘,pid:62700,lv:3},
491 {id:62801,name:‘电力、热力生产和供应人员‘,pid:62800,lv:3},
492 {id:62802,name:‘气体生产、处理和输送人员‘,pid:62800,lv:3},
493 {id:62803,name:‘水生产、输排和水处理人员‘,pid:62800,lv:3},
494 {id:62899,name:‘其他电力、热力、气体、水生产和输配人员‘,pid:62800,lv:3},
495 {id:62901,name:‘房屋建筑施工人员‘,pid:62900,lv:3},
496 {id:62902,name:‘土木工程建筑施工人员‘,pid:62900,lv:3},
497 {id:62903,name:‘建筑安装施工人员‘,pid:62900,lv:3},
498 {id:62904,name:‘建筑装饰人员‘,pid:62900,lv:3},
499 {id:62905,name:‘古建筑修建人员‘,pid:62900,lv:3},
500 {id:62999,name:‘其他建筑施工人员‘,pid:62900,lv:3},
501 {id:63001,name:‘专用车辆操作人员‘,pid:63000,lv:3},
502 {id:63002,name:‘轨道交通运输机械设备操作人员‘,pid:63000,lv:3},
503 {id:63003,name:‘民用航空设备操作及有关人员‘,pid:63000,lv:3},
504 {id:63004,name:‘水上运输设备操作及有关人员‘,pid:63000,lv:3},
505 {id:63005,name:‘通用工程机械操作人员‘,pid:63000,lv:3},
506 {id:63099,name:‘其他运输设备和通用工程机械操作人员及有关人员‘,pid:63000,lv:3},
507 {id:63101,name:‘机械设备修理人员‘,pid:63100,lv:3},
508 {id:63102,name:‘船舶、民用航空器修理人员‘,pid:63100,lv:3},
509 {id:63103,name:‘检验试验人员‘,pid:63100,lv:3},
510 {id:63104,name:‘称重计量人员‘,pid:63100,lv:3},
511 {id:63105,name:‘包装人员‘,pid:63100,lv:3},
512 {id:63106,name:‘安全生产管理人员‘,pid:63100,lv:3},
513 {id:63199,name:‘其他生产辅助人员‘,pid:63100,lv:3}];
514 
515 var level4 = [{id:‘1A‘,label:‘各类专业、技术人员‘},
516 {id:‘1B‘,label:‘国家机关、党群组织、企事业单位的负责人‘},
517 {id:‘1C‘,label:‘办事人员和有关人员‘},
518 {id:‘1D‘,label:‘商业工作人员‘},
519 {id:‘1E‘,label:‘服务性工作人员‘},
520 {id:‘1F‘,label:‘农林牧渔劳动者‘},
521 {id:‘1G‘,label:‘生产工作,运输工作和部分体力劳动者‘},
522 {id:‘1H‘,label:‘不便分类的其他劳动者‘},
523 {id:‘1I‘,label:‘军人‘}];
524 
525 var professionStr1 = ‘<option>---请选择职业类别---</option>‘;
526 var professionStr2 = ‘<option>---请选择职业---</option>‘;
527 var professionStr3 = ‘<option>---请选择具体职业---</option>‘;
528 var professionStrOne = professionStr1;  
529 var professionStrTwo = ‘‘;  
530 var professionStrThree = ‘‘;
531 for(var i=0;i<level1.length;i++){
532   professionStrOne += ‘<option value="‘ + level1[i].id + ‘">‘ + level1[i].name + ‘</option>‘;
533 }
534 $(".professionOne").html(professionStrOne);
535 $(".professionOne").change(function(){
536   professionStrTwo = professionStr2;
537   if($(this).val() != ‘---请选择职业类别---‘){
538       var professionTwoPid = new Array();
539       for(var j=0;j<level2.length;j++){
540         if (level2[j].pid == $(this).val()) {
541           professionStrTwo += ‘<option value="‘ + level2[j].id + ‘">‘ + level2[j].name + ‘</option>‘;
542           professionTwoPid[j] = level2[j].pid;
543         }
544       }
545       if(professionTwoPid.length == 0){
546           for(var l=0;l<level1.length;l++){
547               if(level1[l].id == $(this).val()){
548                   var professionOneValue = level1[l].name;
549               }
550         }
551         professionStrTwo = professionStrThree = ‘<option value="‘ + $(this).val() + ‘">‘ + professionOneValue + ‘</option>‘;
552         $(".professionTwo").html(professionStrTwo);
553           $(".professionThree").html(professionStrThree);
554       }else{
555           $(".professionTwo").html(professionStrTwo);
556           $(".professionThree").html(professionStr3);
557       }  
558   }else{
559       $(".professionTwo").html(professionStr2);
560     $(".professionThree").html(professionStr3);
561   }
562 })
563 $(".professionTwo").change(function(){
564   var professionStrThree = professionStr3;
565   if($(this).val() != ‘---请选择职业---‘){
566       var professionThreePid = new Array();
567       for(var k=0;k<level3.length;k++){
568         if (level3[k].pid == $(this).val()) {
569           professionStrThree += ‘<option value="‘ + level3[k].id + ‘">‘ + level3[k].name + ‘</option>‘;
570           professionThreePid[k] = level3[k].pid;
571         }
572       }
573       if(professionThreePid.length == 0){
574           for(var m=0;m<level2.length;m++){
575               if(level2[m].id == $(this).val()){
576                   var professionTwoValue = level2[m].name;
577               }
578         }
579         professionStrThree = ‘<option value="‘ + $(this).val() + ‘">‘ + professionTwoValue + ‘</option>‘;
580         $(".professionThree").html(professionStrThree);
581       }else{
582           $(".professionThree").html(professionStrThree);
583       }
584   }else{
585       $(".professionThree").html(professionStr3);
586   }
587 })
588 })

 

 

 

参考文章:https://www.jb51.net/article/109563.htm

职业的三级联动下拉表单选项(jquery写法)

标签:net   电工   加工   src   code   标准   专用   交通   仪器仪表   

原文地址:https://www.cnblogs.com/fudanchencds/p/11718933.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!