Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #19368
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="ISO-8859-1" |
| Message-ID | <1767572.gIZhgMebAZ@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <usenet@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Fri, 19 Apr 2013 19:52:24 +0200 |
| User-Agent | KNode/4.8.5 |
| Content-Transfer-Encoding | 7Bit |
| X-Face | %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== |
| Subject | Re: Accessing image property in IE when there's a period in the html ID? |
| Newsgroups | comp.lang.javascript |
| References | <kkn90j$nuv$1@news.albasani.net> <kknb7u$rnl$1@news.albasani.net> <1411375.u70iIU05oh@PointedEars.de> <kkogbh$muh$1@dont-email.me> <19825448.DougqSLUUr@PointedEars.de> <kkp0g9$jrf$1@news.albasani.net> <7369980.0fbq9E8MqD@PointedEars.de> <kkrvi1$ipe$1@news.albasani.net> |
| MIME-Version | 1.0 |
| Lines | 49 |
| NNTP-Posting-Date | 19 Apr 2013 19:52:25 CEST |
| NNTP-Posting-Host | 6faaced3.newsspool4.arcor-online.net |
| X-Trace | DXC=[jL[7K3Yg@KC4i^e1BZ=_H4IUK<Cl32<A4Fo<]lROoRA8kF<OcfhCOKN7R:9EjSaTODZm8W4\YJNLb@mF9jNikdEIQbgJMhLo0G@BX8dhfF<VB |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | csiph.com comp.lang.javascript:19368 |
Show key headers only | View raw
Stefan Weiss wrote: > On 2013-04-19 01:25, Thomas 'PointedEars' Lahn wrote: >> Stefan Weiss wrote: >>> How can you call document.getElementById(id) more error-prone than >>> document.images[id], when the topic of this very thread is an error >>> caused by the unexpected and poorly documented behavior of >>> document.images? >> It was not. It was caused by using invalid markup, and DOM scripting on >> that markup. > > That's a distortion of facts. No, it is not. > First of all, the id value "0010.0" is valid in HTML5. We do not even know if the OP used HTML5. You are jumping to conclusions again, and I am tired of it. Microsoft does not seem to care about your layman opinion. They seem to care more about backwards compatibility, or they have just neglected to fix this for their supposed-to-be HTML5-compliant browser. Who knows. > The problem as described still occurs in IE10 in standards mode with a > validated HTML5 document, so this cannot be the main cause. That is correct, it is not the main cause *in IE 10*. But the OP *did* *not* *use* *IE* *10*. > Second, regardless of its validity, this value is accepted > as an ID by Internet Explorer (including IE8, the browser mentioned by > the OP). If it wasn't, various other methods including getElementById() > and namedItem() would fail. So there is another MSHTML inconsistency. What else is new. This does not mean that you should use such IDs, at least not in HTML 4.01. > The main cause of the problem was, as I said, that it's unclear and > poorly documented how browsers (and IE in particular) handle the > array-like access of HTML collections like document.images. No, the main cause was cluelessness. But there appears to be no means to talk sense into you, so I will stop trying and wasting my time with you. Score adjusted -- PointedEars
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Accessing image property in IE when there's a period in the html ID? Tuxedo <tuxedo@mailinator.com> - 2013-04-18 00:50 +0200
Re: Accessing image property in IE when there's a period in the html ID? Stefan Weiss <krewecherl@gmail.com> - 2013-04-18 01:29 +0200
Re: Accessing image property in IE when there's a period in the html ID? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-04-18 07:53 +0300
Re: Accessing image property in IE when there's a period in the html ID? Stefan Weiss <krewecherl@gmail.com> - 2013-04-18 10:07 +0200
Re: Accessing image property in IE when there's a period in the html ID? Tuxedo <tuxedo@mailinator.com> - 2013-04-18 08:39 +0200
Re: Accessing image property in IE when there's a period in the html ID? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-18 11:06 +0200
Re: Accessing image property in IE when there's a period in the html ID? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-04-18 13:05 +0300
Re: Accessing image property in IE when there's a period in the html ID? Andrew Poulos <ap_prog@hotmail.com> - 2013-04-18 20:21 +1000
Re: Accessing image property in IE when there's a period in the html ID? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-18 12:39 +0200
Re: Accessing image property in IE when there's a period in the html ID? Stefan Weiss <krewecherl@gmail.com> - 2013-04-18 16:38 +0200
Re: Accessing image property in IE when there's a period in the html ID? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-19 01:25 +0200
Re: Accessing image property in IE when there's a period in the html ID? Stefan Weiss <krewecherl@gmail.com> - 2013-04-19 19:40 +0200
Re: Accessing image property in IE when there's a period in the html ID? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-19 19:52 +0200
Re: Accessing image property in IE when there's a period in the html ID? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-04-18 13:56 +0300
Re: Accessing image property in IE when there's a period in the html ID? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-18 13:19 +0200
csiph-web