Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -150,7 +150,7 @@ | @@ -150,7 +150,7 @@ | ||
| 150 | }); | 150 | }); |
| 151 | 151 | ||
| 152 | // 监听第一个下拉框的选择 | 152 | // 监听第一个下拉框的选择 |
| 153 | - table.on('select(cityid)', function(data){ | 153 | + form.on('select(cityid)', function(data){ |
| 154 | $('#areaid').html(''); // 清空区域下拉框 | 154 | $('#areaid').html(''); // 清空区域下拉框 |
| 155 | //$('#areaid').append('<option value="' + city + '区">' + city + '区</option>'); | 155 | //$('#areaid').append('<option value="' + city + '区">' + city + '区</option>'); |
| 156 | form.render('select'); // 更新区域下拉框 | 156 | form.render('select'); // 更新区域下拉框 |
-
Please register or login to post a comment