Hello everbody! It's my first question in this forum and I hope you can help me!
Well, I'm making a Json request and after the result comes I do the following:
if (resultado.BuscarAtualizacoesResult != null) {
var lstAtualizacoes = $("#lstAtualizacoes");
$("#tplItemAtualizacao").tmpl(resultado.BuscarAtualizacoesResult).appendTo(lstAtualizacoes);
}
else {
alert('It doenst work! try again later ');
}
This code is working fine! But one of the fields of my Json result (${Message}) comes with HTML tags and I WANT that the browser renders it like a HTML tag.
i.e.: ${Message} = "<a href="forum.jquery.com">clique</a>"
I know that it had been made to avoid cross script attacks. But I need to render the HTML tags!
See ya