Updating Dojo Dijit FilteringSelect's store with asynchonous data
问题 I'm using Zend + Dojo form in an intranet context. We need to update a list of counties when the selected state is changed on a form. With HTML you would just parse the json response (or just provide a html fragment of options) and update the innerhtml of the select. However, doing so in Dojo has proved to be prohibitively complex. In short, I have defined a generic method that allows you to set an onBlur update to a form field. This links to a Controller action that calls the database with a