> As previously discussed here, setAttribute sets the HTML attribute,
> which does not update the displayed value in some browsers.
ViniH is correctly using Element#setValue, which abstracts those
issues. The behaviour is the expected one (displaying the exact
input). Since ViniH want's to display escaped data, he simply has to
unescape it like so:
textarea.setValue(content.unescapeHTML());
Best,
Tobie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---