jeudi 2 juillet 2015

Check box isn't checked in IE

In IE, this code doesn't work; the check box is not checked. In other browsers, it works fine.

if (obj != null) {
    $.each(obj, function (i, tabRole) {
        $(":checkbox[value=" + tabRole.TabID+"]").prop("checked", "true");
    });
}




Aucun commentaire:

Enregistrer un commentaire