The largest Interview Solution Library on the web

« Previous | 1 | 2 | 3 | Next »
Add these dojo.require statements below the existing ones. dojo.require("dijit.form.CheckBox"); The CheckBox widget also covers radio button. There is no need to import additional code for radio button. Below the line:
Add these lines:
<input id="ch1" dojoType="dijit.form.CheckBox"
checked="checked" value="Y"/>
<label for="ch1">Send me e-mail</label>
<input id="rad1" dojoType="dijit.form.RadioButton"
checked="checked" name="vendor" value="IBM"/>
<label for="rad1">IBM</label>
<input id="rad2" dojoType="dijit.form.RadioButton" name="vendor" value="MS"/>
<label for="rad2">Microsoft</label>
<input id="rad3" dojoType="dijit.form.RadioButton" name="vendor" value="Oracle"/>
<label for="rad3">Oracle</label
« Previous | 1 | 2 | 3 | Next »

copyright © 2014 - all rights riserved by