Dojo Check Box
In this section, you will learn how to create dojo check box. The Check-box provides more options or choices to the user. If you want to choose more options at a time.
<html>
<head>
<title>Check box Example</title>
<!-- Check box -->
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.form.CheckBox");
</script>
</head>
<body>
<h1>Welcome To Dojo</h1>
<h2>Check box Example</h2>
<input id="chbox" dojotype="dijit.form.CheckBox"
name="developer" checked="checked" value="on"
type="checkbox" />
<label for="chbox"> Developer </label> <br>
<input id="chbox1" dojotype="dijit.form.
CheckBox" name="developer" type="checkbox" />
<label for="chbox1"> Designer </label>
</body>
</html> |
Output:
