Hello there.
I'm saving some data in HTML on a database. Now I need to show those
data on the page again, to do that I wrote some loadJSONDoc and swapDOM
code. The problem is, when I create the DOM to do the SWAP using the
createDOM functions, like
P({'id' : 'bleh}, json.object[1].text)
The HTML is ignored when I swap the DOM, so, I expect to get
Hello!
This is a linebreak!
And I get
Hello!<br />This is a linebreak!
I tried to fiddle around with toHTML or escapeHTML but it doesn't seem
like what I'm searching.
Is there a way to do that, or I'm doing the thing completely wrong
(and, what's the right!).
[]s
core
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---