Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8378
| From | Dr J R Stockton <reply1146@merlyn.demon.co.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML |
| Date | 2011-11-16 18:51 +0000 |
| Organization | Home |
| Message-ID | <6hYxxkMeYAxOFwPE@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <b8aaaf65-2095-4145-8992-651aae0e9a69@p9g2000vbb.googlegroups.com> |
In comp.lang.javascript message <b8aaaf65-2095-4145-8992-651aae0e9a69@p9 g2000vbb.googlegroups.com>, Tue, 15 Nov 2011 11:47:08, David Mark <dmark.cinsoft@gmail.com> posted: >Keeping these facts in mind during design can save a world of time. >I've found that most designs can do just fine sticking to the >innerHTML properties of DIV elements (and perhaps the occasional TD or >TR, which won't change the structure of containing tables). > >The simplest rendition of the setter with simplified feature >detection*:- > >// NOTE: Don't use this rendition with anything but DIV's Were you intending to imply that it is not safe with SPAN elements? -- (c) John Stockton, nr London UK. ?@merlyn.demon.co.uk BP7, Delphi 3 & 2006. <http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links; <http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm> clpdmFAQ; NOT <http://support.codegear.com/newsgroups/>: news:borland.* Guidelines
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML David Mark <dmark.cinsoft@gmail.com> - 2011-11-15 11:47 -0800
Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML Andreas Bergmaier <andber93@web.de> - 2011-11-15 22:26 +0100
Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML Gregor Kofler <usenet@gregorkofler.com> - 2011-11-15 22:57 +0100
Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML "J.R." <groups_jr-1@yahoo.com.br> - 2011-11-15 21:16 -0200
Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-16 01:11 +0100
Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML Andreas Bergmaier <andber93@web.de> - 2011-11-16 02:29 +0100
Re: David Mark's Javascript Daily - Volume #3 - Tip #6 - How to Get and Set HTML Dr J R Stockton <reply1146@merlyn.demon.co.uk> - 2011-11-16 18:51 +0000
csiph-web