Looking for guidance on dynamically setting the value of a check box to checked using Dojo. I came across some information on the Dojo toolkit site recommending the use of key-value pairs to achieve this with checkboxWidget, but I am not confident in this approach. Can anyone offer any suggestions?
I have attempted the following approach, however, it is not working as expected. Any advice on how I can correct this issue?:
checkboxWidget.set("", "checked");