lundi 27 juin 2016

use Dojo to programaticlly set checkboxes checked

The codes below returns Uncaught TypeError: Cannot set property 'checked' of null. what is the correct way to programmatic set checkbox as checked?

        array.forEach(this._getAllCheckBoxIDs(), function(item){
            dom.byId(item).checked = true;
        }, this);




Aucun commentaire:

Enregistrer un commentaire