开发者

div loading is not proper while using ajax

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"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜