Page MenuHomeCode

combotab.html
No OneTemporary

combotab.html

<div dojoType="dojo.data.ItemFileReadStore" jsId="stateStore"
url="../_data/states.json"></div>
State:
<span id="editable" dojoType="dijit.InlineEditBox" editor="dijit.form.ComboBox"
editorParams="{value: 'California', store: stateStore, searchAttr: 'name', promptMessage='Please enter a state'}">
<script type="dojo/connect" event="onChange">
// connect to editable onChange event, Note that we dont need to disconnect
console.log('User selected:'+this.getValue());
</script>
</span>

File Metadata

Mime Type
text/html
Expires
Fri, Apr 25, 19:39 (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26590
Default Alt Text
combotab.html (494 B)

Event Timeline