mardi 24 mars 2015

Checkbox unchecked but checked in DOM

I am checking the checkbox dynamically using code $("#chkBrand").attr('checked',true)/ $("#chkBrand").attr('checked','checked')/$("#chkBrand").prop('checked',true) which i can see in DOM but no action is taken on checkbox. It remains unchecked.


Can anybody please help me to solve this.


Thanks, Afzal





Aucun commentaire:

Enregistrer un commentaire