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>

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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:13 UTC