Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15456
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: How to improve performance growing this <li> |
| Date | Sun, 19 Aug 2012 20:16:34 +0100 |
| Organization | Home |
| Lines | 22 |
| Message-ID | <kw2mVHGSuTMQFwsZ@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <k0l3jr$qbu$1@speranza.aioe.org> <k0l3nh$qhe$1@speranza.aioe.org> <afas28dkk284q30s2gh9tacq25ptjjo9pu@4ax.com> <k0mjbm$7a7$1@dont-email.me> <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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain;charset=us-ascii |
| Injection-Info | mx04.eternal-september.org; posting-host="530603207bb5dc63eadbc45c88da0024"; logging-data="29846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18U1SADpsSCYgRIryVnUzCIM/F662R+iVY=" |
| User-Agent | Turnpike/6.05-S (<hg+ExxAgcsscjA9uK+8bCnc9V5>) |
| Cancel-Lock | sha1:E6eYiPxPCRGGmRnvKBPHDzQpL00= |
| Xref | csiph.com comp.lang.javascript:15456 |
Show key headers only | View raw
In comp.lang.javascript message <k0ofit$8ob$1@dont-email.me>, Sat, 18 Aug 2012 16:23:57, Denis McMahon <denismfmcmahon@gmail.com> posted: >On Sat, 18 Aug 2012 16:57:39 +0200, SAM wrote: > >> I don't know if it would run faster with : >> newLi.innerHTML = "Item " + i + " text"; >> instead of : > >I believe that the use of innerHTML may be either recommended against, >frowned upon by some, deprecated or some other flavour of "not best >practice" in some quarters because you can break the dom by introducing >bad markup with it. Or is that innerText? The answer to that is to have a policy of only introducing correct markup. A RegExp replace on body.innerHTML can work wonders. -- (c) John Stockton, nr London, UK. For Mail, see Home Page. Turnpike, WinXP. Web <http://www.merlyn.demon.co.uk/> - FAQ-type topics, acronyms, and links. Command-prompt MiniTrue is useful for viewing/searching/altering files. Free, DOS/Win/UNIX now 2.0.6; see <URL:http://www.merlyn.demon.co.uk/pc-links.htm>.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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