Dojox QueryReadStore + ComboBox demo

Everything is created ONLY in markup

var w = dijit.byId("cb1");
= w.value
= w.item ? w.store.getValue(w.item, "id") : "-"
= w.attr("displayedValue")
= w.isValid()