[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Roger L. Costello" <costello@m...>
  • Subject: RE: Saving a DOM Tree that's in IE
  • From: "Manos Batsis" <m.batsis@b...>
  • Date: Wed, 26 Jun 2002 16:59:34 +0300
  • Cc: <xml-dev@l...>
  • Thread-index: AcIdGUefKMdkF9tWSNubPfR4rBAqVQAAAoHg
  • Thread-topic: Saving a DOM Tree that's in IE


Sure. Copy the DOM portions you want in a textarea and submit the form
;-)
The only problem is, innerHTML does not return well-formed markup
(quotes are missing). I had to use an applet to fix that back then.

Hth,

Manos

> -----Original Message-----
> From: Roger L. Costello [mailto:costello@m...] 
> Sent: Wednesday, June 26, 2002 5:00 PM
> To: xml-dev@l...
> Cc: Brenner,Mike; Costello,Roger L.
> Subject:  Saving a DOM Tree that's in IE
> 
> 
> Suppose that I add to a DOM tree using Javascript in Internet Explorer
> (e.g., add a new subtree).  Is there a way to save the in-memory DOM
> (send it back to the server)?  /Roger
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member