for example:
$('mydiv').innerHTML = request.responseText.escapeHTML();
hth
On 7/10/06, Bauser, Joseph (Joe) <[EMAIL PROTECTED]> wrote:
Depends what you mean.
A good place to check for functionality in prototype is http://www.sergiopereira.com/articles/prototype.js.html
You can go there and search to see if it has the functionality you want.
Cheers
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]On Behalf Of Sam
Sent: Monday, July 10, 2006 2:00 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Making HTML display-able on a page
For error reporting purposes, I'd like to take the data returned from an Ajax call, which should contain HTML, and display that HTML in an error reporting page.
Does prototype.js have a method which will convert an HTML string to display format?
Sam
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
--
Mit freundlichen Grüßen
Siegfried Puchbauer
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs