Add options to Dojo Dropdown list box

How to programmatically add an option to a dijit.form.Select . I’ve looked all over the place and I’m not able to find it.


I think looking at the documentation you would see addOption

mySelect.addOption( { label: "new option", value: 1 } );

Leave a Reply

Your email address will not be published. Required fields are marked *