set input checkbox value in jquery using asp.net
Hi ,
here am getting a string in jquery and am splitting that string.
Am assigning those values in asp.net page.
if (separated[8] == "True") {
$("#ContentPlaceHolder1_CheckBox2").attr('checked', true);
$("#div3").show();
}
else {
$("#ContentPlaceHolder1_CheckBox2").attr('checked', false);
$("#div3").hide();
}
here am getting a string in jquery and am splitting that string.
Am assigning those values in asp.net page.
if (separated[8] == "True") {
$("#ContentPlaceHolder1_CheckBox2").attr('checked', true);
$("#div3").show();
}
else {
$("#ContentPlaceHolder1_CheckBox2").attr('checked', false);
$("#div3").hide();
}
Comments