I am trying to load HTML in to an area on my page and I can load pure text all okay, see example below:
function(msg) {
// Replace the div's content with the page method's return.
$("#CategoryExtension").text(msg);
}
However when I try to include HTML content it displays it as is, and places a quote around the content.
How can I get over this?