tags:

views:

25

answers:

1

i have to load a div with a list of check 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... can you help me in it..

A: 

Maybe the checkboxes in the HTML you get contain checked="true"?

Ofri Raviv