TextArea looks like:
<textarea id="MessageContent" name="MessageContent"></textarea>
JQuery looks like:
$("#insert").live("click", function () {
var t = "<img width='" + result.width + "' height='" + result.height + "' alt='" + result.descr + "' src='/Images/" + result.message + "' />";
$("#MessageContent").html($("#MessageContent").html() + t);
$("#MessageContent").focus();
$("#backgroundPopup").fadeOut("fast");
$("#popupContact").fadeOut("fast");
}); //live
I can insert simple text, but can't insert any HTML tag.