The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »
A combo box is a drop down menu item, where user can edit the value. HTML does not provide any
input markup for this. Dojo saves the day by giving us this widget.
Below the line:
dojo.require("dijit.form.DateTextBox");
Add the following line to import the code for combo box:
dojo.require("dijit.form.ComboBox");
Below the line:
<input dojoType="dijit.form.DateTextBox" />
Add:
<br/>
<select dojoType="dijit.form.ComboBox"
autocomplete="true" value="Enter a state">
<option selected="selected">California</option>
<option>Illinois</option>
<option>New York</option>
<option>Nebraska</option>
</select>
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com