extform.FormView = { …(略)… // 都道府県と対応する市町村の表示 changeCity: function(form, url) { var city = form.findField('city') if (city) { form.remove(city); city.destroy(); } var store = new Ext.data.JsonStore({ url: url, root: 'cities', fields: ['value', 'dispvalue'] }); city = new Ext.form.ComboBox({ renderTo: 'city_container', store: store, id: 'city', displayField: 'dispvalue', valueField: 'value', typeAh
![Ext JSとprototype.jsで作るリッチなUI](https://cdn-ak-scissors.b.st-hatena.com/image/square/6e84fc6ab06f31b2e64248cbfc92fe06deb5bab5/height=288;version=1;width=512/https%3A%2F%2Fimage.itmedia.co.jp%2Fimages%2Flogo%2F1200x630_500x500_ait.gif)