summaryrefslogtreecommitdiff
path: root/includes/js/dijit/tests/layout/combotab.html
blob: c8817619eb964f6381a3697e575a6a2b2e158f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
<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>