W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2007

Insert Node into String?

From: Myadmas <myadmas@arcor.de>
Date: Mon, 18 Jun 2007 14:32:12 +0200
To: "www-dom" <www-dom@w3.org>
Message-Id: <20070618123209.3FB2B2351AD@mail-in-10.arcor-online.net>
Hello,

I want to insert a link in a text node. ATM I copy the text before the string I want to convert to a link into another node, then I append the link, then the following again as text.

I wondered if there is a function to do this "on the fly". However it didnīt work with insertNode. Are there other possibilities?
Received on Tuesday, 19 June 2007 08:39:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT