I have to load a div with a list of c开发者_运维技巧heck boxes using ajax. I have writen ajax code to fetch the string containing the list of check boxes.`
document.getElementById("roleCheckBoxes").innerHTML="";
$('#roleCheckBoxes').append(xmlhttp.responseText.toString());
the data are fetching properly but the display alone not reflecting the string which I gave instead it displays a the list of check boxes with all checked.
Maybe the checkboxes in the HTML you get contain checked="true"?
精彩评论