this is the js code
function startChatSession(){  
$.ajax({
  url: "chat.php?action=startchatsession",
  cache: false,
  dataType: "json",
  success: function(data) {
    username = data.username;
    $.each(data.items, function(i,item){
        if (item)   { // fix strange ie bug
            chatboxtitle = item.f;
            if ($("#chatbox_"+chatboxtitle).length <= 0) {
                createChatBox(chatboxtitle,1);
            }
            if (item.s == 1) {
                item.f = username;
            }
            if (item.s == 2) {
                $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxinfo">'+item.m+'</span></div>');
            } else {
                $("#chatbox_"+chatboxtitle+" .chatboxcontent").append('<div class="chatboxmessage"><span class="chatboxmessagefrom">'+item.f+':  </span><span class="chatboxmessagecontent">'+item.m+'</span></div>');
            }
        }
    });
here +item.m+ holds a plain text
if it contains html tags then it returns html tags also
for example +item.m+ contains
<b>Hello</b>
i want output to be
Hello
but i am getting same output as
<b>Hello</b>
this code is implemented in a IM chat and i need html code to be executed in the chat window. . .so please help me by suggesting to get html execution here
Thank you
 
     
     
     
    