Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15484

Re: How to improve performance growing this <li>

From Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid>
Newsgroups comp.lang.javascript
Subject Re: How to improve performance growing this <li>
Date 2012-08-21 20:44 +0100
Organization Home
Message-ID <B8qvW4DgU+MQFw4D@invalid.uk.co.demon.merlyn.invalid> (permalink)
References (4 earlier) <k0mnru$91p$1@dont-email.me> <k0nsu0$uhj$1@dont-email.me> <502fad63$0$6223$ba4acef3@reader.news.orange.fr> <k0ofit$8ob$1@dont-email.me> <50321193$0$6182$ba4acef3@reader.news.orange.fr>

Show all headers | View raw


In comp.lang.javascript message <50321193$0$6182$ba4acef3@reader.news.or
ange.fr>, Mon, 20 Aug 2012 12:29:38, SAM <stephanemoriaux.NoAdmin@wanado
o.fr.invalid> posted:

>I think it can be used to add some html code ... if ... there is no
>attribute in tags

I use
        var Esay = document.getElementById("essai")
        Esay.innerHTML = Esay.innerHTML.
          replace(/##(\w['~]?)?(\d)?([\.,; ]*)?/g, Func)

to replace about 500 instances of ##  with a span element, containing
other tags, returned by Func.

<http://www.merlyn.demon.co.uk/p231-jax.htm> is a test subset.  You
might like to read the originals at Gallica or Liege.

-- 
 (c) John Stockton, nr London, UK.    ?@merlyn.demon.co.uk     Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to improve performance growing this <li> "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-08-17 17:41 +0800
  Re: How to improve performance growing this <li> "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-08-17 17:43 +0800
    Re: How to improve performance growing this <li> Dr.Kral@nyc.rr.com - 2012-08-17 07:27 -0400
      Re: How to improve performance growing this <li> "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-08-18 06:18 +0800
      Re: How to improve performance growing this <li> Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-17 23:16 +0000
        Re: How to improve performance growing this <li> Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-18 00:33 +0000
          Re: How to improve performance growing this <li> Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-18 11:05 +0000
            Re: How to improve performance growing this <li> SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-18 16:57 +0200
              Re: How to improve performance growing this <li> Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-18 16:23 +0000
                Re: How to improve performance growing this <li> Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-19 20:16 +0100
                Re: How to improve performance growing this <li> SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 12:29 +0200
                Re: How to improve performance growing this <li> Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-21 20:44 +0100

csiph-web