Dojo Question:
Download Questions PDF

Explain Sample code for Checkbox in Dojo framework?


Check boxes are the same as html but dojo provides more controls and styling options than a conventional check box. The checkbox contains Boolean types value either 'true' or 'false'. The following example creates a Checkbox:
<!-- check box -->
<script type="text/javascript">

<h2>Check box</h2>
<input id="cb" dojotype="dijit.form.CheckBox" name="developer"
checked="checked" value="on" type="checkbox" />
<label for="cb"> Are you a Dojo Developer </label>

Download Dojo Interview Questions And Answers PDF

Previous QuestionNext Question
Sample example on Dojo?Example of Radio Button in Dojo framework?