Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #7624
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.chainon-marquant.org!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="ISO-8859-1" |
| Message-ID | <1855899.XyKBKyFPRe@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Sat, 22 Oct 2011 21:22:57 +0200 |
| User-Agent | KNode/4.4.11 |
| Content-Transfer-Encoding | 7Bit |
| Subject | Re: Get value of named object |
| Newsgroups | comp.lang.javascript |
| References | <a185a7pdddj3ui58j7a8rrtuivpe4gu92l@4ax.com> <8927386.SEqChMirdb@PointedEars.de> <3016a7h721gekekruu1hmbiqv1p0vmsd67@4ax.com> |
| Followup-To | comp.lang.javascript |
| MIME-Version | 1.0 |
| Lines | 27 |
| NNTP-Posting-Date | 22 Oct 2011 21:22:58 CEST |
| NNTP-Posting-Host | e71468a5.newsspool1.arcor-online.net |
| X-Trace | DXC=>f4fUHkGUSWaoembcbF;DQic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgR3:^P=7BE@=PDZm8W4\YJN\b@mF9jNikdU_dXMBNGELEQ4A=7_MSX8^Q |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.javascript:7624 |
Followups directed to: comp.lang.javascript
Show key headers only | View raw
Swifty wrote: > Thomas 'PointedEars' Lahn wrote: >> (Your current show() would still cause document.write() to be called >> consecutively, which is a bad idea.) > > And there I was, congratulating myself on having very nearly written > an entire page in JavaScript. One step at a time. > > The page is half learning exercise, half reference for properties that > interest me, and which I may eventually use somewhere. If it is supposed to be a learning exercise, then you have slept right through it. In essence: 1. Avoid using eval(). Use property access syntax instead. 2. Do not call document.write() consecutively. Pass it a string value (or a value convertible to a string) that you build before. PointedEars -- Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network. -- Tim Berners-Lee
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Get value of named object Swifty <steve.j.swift@gmail.com> - 2011-10-22 11:56 +0100
Re: Get value of named object "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-10-22 11:20 +0000
Re: Get value of named object Swifty <steve.j.swift@gmail.com> - 2011-10-22 18:57 +0100
Re: Get value of named object Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-22 21:20 +0200
Re: Get value of named object Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-22 14:35 +0200
Re: Get value of named object Swifty <steve.j.swift@gmail.com> - 2011-10-22 18:59 +0100
Re: Get value of named object Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-22 21:22 +0200
Re: Get value of named object Scott Sauyet <scott.sauyet@gmail.com> - 2011-10-22 12:53 -0700
Re: Get value of named object Lasse Reichstein Nielsen <lrn.unread@gmail.com> - 2011-10-23 02:10 +0200
Re: Get value of named object Swifty <steve.j.swift@gmail.com> - 2011-10-23 09:01 +0100
Re: Get value of named object Lasse Reichstein Nielsen <lrn.unread@gmail.com> - 2011-10-23 11:57 +0200
Re: Get value of named object Swifty <steve.j.swift@gmail.com> - 2011-10-24 14:11 +0100
Re: Get value of named object Dr J R Stockton <reply1142@merlyn.demon.co.uk> - 2011-10-23 21:16 +0100
csiph-web