Dojox QueryReadStore + FilteringSelect demo
Everything is created ONLY in markup
reset
var w = dijit.byId("fs1");
= w.value
= w.item ? w.store.getValue(w.item, "id") : "-"
= w.get('displayedValue')
= w.isValid()
refresh