开发者

div loading is not proper while using ajax

开发者 https://www.devze.com 2022-12-16 00:17 出处:网络
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.`

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

精彩评论

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