e44a7e37b6
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
11 lines
495 B
HTML
11 lines
495 B
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>
|
|
|