Dojo Interviewfragen und Antworten
Question: Example of Radio Button in Dojo framework.Answer: Radio Buttons are the same as html but dojo provides more controls and styling options than a conventional Radio button. The radio button also contains Boolean types value either 'true' or 'false'. The following example creates a Radio buttons:<html> <head> <title>Radio</title> <!-- radio --> <script type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.form.*"); </script> </head> <body> <h2>Radio button</h2> <input dojoType="dijit.form.RadioButton" id="val1" name="group1" checked="checked" value="Programmer" type="radio" /> <label for="val1"> Programmer </label> <input dojotype="dijit.form.RadioButton" id="val2" name="group1" value="Designer" type="radio" /> <label for="val2"> Designer </label> <input dojotype="dijit.form.RadioButton" id="val3" name="group1" value="Developer" type="radio" /> <label for="val3"> Developer </label> </body> </html> |
Zum Wiederholen speichern
Speichere diesen Eintrag als Lesezeichen, markiere ihn als schwierig oder lege ihn in einem Wiederholungsset ab.
Melde dich an, um Lesezeichen, schwierige Fragen und Wiederholungssets zu speichern.
Ist das hilfreich? Ja Nein
Am hilfreichsten laut Nutzern:
- What is Dojo?
- What is the basic structure in Dojo?
- Give a sample example on Dojo.
- What are Application Support Libraries in Dojo?
- What is Package System in Dojo?