aaf188f990a8b5cf08134ed239cea831af05489d.svn-base 494 B

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