I have a String variable say
strHTML = "<div class='abc'> This is a test <span class='xyz'> String </span> </div> "
that i m receiving from server. When I use
$('#container').append(strHTML);
it is displaying the whole string including HTML tag in "container".
What i want is to take each HTML tag as HTML element in "Container" & apply class whever i defined in it..