I've got some pretty simple code: [..] $(".remove").click(function(){ $.post("index.php",{action:"remove"}, function(data){ $("#right").html(data.newContent); }, "json") return false; }); [..] <div id="#right"> <a class="remove">remove it!</a> </div> [..]
Once I click on the link new #right content is properly fetched and inserted in the div, but it is not rendered. Innerhtml is there, but It is not displayed. On the other hand if I replace .html() with .text() the content is displayed - as text, as expected. I am using JQuery 1.2.6 It works fine in IE7 and Opera 9.2, it fails in both FF2 and FF3 Any ideas?