Dojo Combo Box
In this section, you will learn how to create dojo combo-box. The Combo box is a drop down option that is selected by user in the combo box item.
<html>
<head>
<title>Combo Box Example</title>
<!-- combo box -->
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.form.ComboBox");
</script>
</head>
<body>
<h1>Welcome To Dojo</h1>
<h2>Combo Box Example</h2>
<select name="product" dojoType=
"dijit.form.ComboBox" autocomplete="false"
value="product">
<option>Pen</option>
<option>Pencil</option>
<option>Book</option>
<option>Shirt</option>
<option>Computer</option>
</select>
</body>
</html> |
Output:
