I am doing an ajax post, whereby I am returning an xml document that has html in it. I grab the html text, and the use .html to replace an unordered list. This works fine in FF, but ie6 and ie7 just show the last li elements text...
$j(xml).find('Response').each(function(){ var type = $j(this).attr('type'); if(type == "update") { var html = $j(this).text(); Module.UpdateList(widget, html); } }); UpdateList: function(widget, htmlText) { var listBody = widget.find('.userlistbody'); listBody.slideUp("normal", function(){ var list = listBody.find("ul"); list.html(htmlText); listBody.slideDown(); }); } if i alert before the list.html, the html text is there: <li> link <strong>text</string> </li><li> link <strong>text</strong> </li><li class="more">More </li> , but if I do a alert(list.html()); afterwwards i am getting this back... More Just the word more, nothing else. -- View this message in context: http://www.nabble.com/.html%28val%29-not-working-in-ie6---7-tp15101863s27240p15101863.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.