just use the ajax response
$.post("ajax_dcd.asp", params, function(text){
$("div#selfreview").html(text);
$("div#indicate").hide();
}); return false; });}
>
>
> $.fn.ajaxSubmit = function(e) {this.submit(function(){ var params =
> {}; $(this) .find("[EMAIL PROTECTED], [EMAIL PROTECTED]'text'],
> [EMAIL PROTECTED]'hidden'], [EMAIL PROTECTED]'password'], [EMAIL PROTECTED],
> textarea") .filter(":enabled") .each(function() { params[ this.name ||
> this.id || this.parentNode.name || this.parentNode.id ] = this.value;
> });$("div#indicate").show(); $.post("ajax_dcd.asp", params,
> function(text){
> $("div#selfreview").html("<p
> class=\"alert\">"+$(text).text()+"<\/p>" );
> $("div#indicate").hide();
> }); return false; });}
>
> The "text" coming back (from an .asp file) contains HTML tags which,
> in the above code, are being stripped out.
>
> How can I return the data in a HTML format?
>
--
David Duymelinck
________________
[EMAIL PROTECTED]
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/