1
First Clear The Old Value then set new value :
- $("#TreeViewDiv").load(" #TreeViewDiv");
- $.each(data.roleList, function (index, value) {
- $(".access[data-id=" + value + "]").attr("checked", true);
- });
- $("#IsNew").val('');
- $("#IsNew").val(data.IsNew);
0
Hi Mohit,
Please, could you share with us the code snippet to understand what do you want exaclty ?
0
$("#TreeViewDiv").load(" #TreeViewDiv");// When Dropdown change it will display checked checkbox and immediately uncheck
$.each(data.roleList, function (index, value) {
$(".access[data-id=" + value + "]").attr("checked", true);
});
$("#IsNew").val(data.IsNew);
0
Please share the Code to better understand..
0
not matching with my condition