How to determine if DOJO is checked or not?
2 answers
You can check this in various ways. You can use simple HTML / DOM / JavaScript and use something like:
if (document.getElementById("test").checked) { ... }
or using Dojo:
if (dojo.byId("test").checked) { ... }
Here is what @Shreyos Adikari said, I think, but you can also use the widget itself (which does the same behind the screens):
if (dijit.byId("test").checked) { ... }
, DOM, / Dojo CheckBox/, . , , .
, , ( Dojo), API , , .
+13