Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12163
| Message-ID | <1403837.V9SEqChMir@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2012-02-25 13:19 +0100 |
| Subject | Re: How to programmatically display a value |
| Newsgroups | comp.lang.javascript |
| References | <ji9cvn$pqa$1@dont-email.me> <ji9grj$a07$1@dont-email.me> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
Cal Who wrote: > I don't know if this is the "best" way to display a numeral but I found > the innerHTML property on the span element and that appears to work OK. You are displaying a numeral, not parsing HTML markup; using innerHTML is overkill, not standardized, and therefore error-prone. Use the `nodeValue' property of the `firstChild' of the span element object (you should provide it with a child node, say <span> </span>). Your learning to quote (at least, not to top-post) is a prerequesite for my further considering your postings. You have been warned. PointedEars -- > If you get a bunch of authors […] that state the same "best practices" > in any programming language, then you can bet who is wrong or right... Not with javascript. Nonsense propagates like wildfire in this field. -- Richard Cornford, comp.lang.javascript, 2011-11-14
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to programmatically display a value " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 20:19 -0500
Re: How to programmatically display a value " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 21:25 -0500
Re: How to programmatically display a value Swifty <steve.j.swift@gmail.com> - 2012-02-25 06:46 +0000
Re: How to programmatically display a value Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-25 13:19 +0100
Re: How to programmatically display a value Dr J R Stockton <reply1208@merlyn.demon.co.uk> - 2012-02-26 20:38 +0000
Re: How to programmatically display a value Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-02-27 15:53 +0100
Re: How to programmatically display a value Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-27 17:40 +0100
csiph-web