sb.Append("<li><a href =''" + "onclick='OpenChatBox('" + dRow["UserName"].ToString() + "','" + dRow["UserName"].ToString() + "')'>" + dRow["UserName"].ToString() + "</a></li>");
i ma doing it like this .i have just print this it gives output like this
onclick='openchatbox('value','value')'
i think it should be like this but it is not working