Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #19333
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Accessing image property in IE when there's a period in the html ID? |
| Date | 2013-04-18 13:56 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <kkojat$90a$1@dont-email.me> (permalink) |
| References | <kkn90j$nuv$1@news.albasani.net> <kknb7u$rnl$1@news.albasani.net> <1411375.u70iIU05oh@PointedEars.de> <kkogbh$muh$1@dont-email.me> |
2013-04-18 13:05, Jukka K. Korpela wrote: > 2013-04-18 12:06, Thomas 'PointedEars' Lahn wrote: > >> However, using an ID (“id” attribute value of “img” elements) instead >> of a >> name (“name” attribute value of “img” elements) is not >> backwards-compatible >> to DOM Level 0. > > The pointless troll seems to focus on warning against good coding > practices on the grounds of something that might happen in early > releases of Internet Explorer 3 or Netscape Navigator 2. Oh, since the troll probably posts a pointless pseudo-lecture on this, maybe I should add this: “Note. This attribute has been included for backwards compatibility. Applications should use the id attribute to identify elements.” Description of the “name” attribute of “img” element in HTML 4.01 Specification, 1999, http://www.w3.org/TR/REC-html40/struct/objects.html#edef-IMG -- Yucca, http://www.cs.tut.fi/~jkorpela/
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