Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28671
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost2.xs4all.net!not-for-mail |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: problem same element objetc |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <410a3c99-009d-45cb-aa85-119c0bb2e213@googlegroups.com> |
| Date | Thu, 10 Sep 2015 17:12:29 +0200 |
| Message-ID | <XnsA511AF0CF2622eejj99@194.109.6.166> (permalink) |
| User-Agent | Xnews/2009.05.01 |
| Lines | 38 |
| NNTP-Posting-Host | 77.174.145.5 |
| X-Trace | 1441897945 dreader35.news.xs4all.nl 18601 ehannivo/77.174.145.5:56990 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.javascript:28671 |
Show key headers only | View raw
WALID BELRHALMIA <wbelrhalmia@gmail.com> wrote on 10 Sep 2015 in
comp.lang.javascript:
> i have a question when we do var e= document.getElemtById("foo") i get
> the object>Node>element that it hase id="foo".
No, you do NOT.
document.getElemtById(
should be
document.getElementById(
> But when i do
> e===document.getElemtById("foo") i get true
Same objection, you do not.
> it's the same object it
> return always the some object
Do you mean "the same object"?
If so, ofcourse,
if you request a pointer to a node twice
you get the same node twice.
> can someone explain me how that work
Why are you asking?
What do you want to accomplish?
This is not schoolwork, or is it?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
problem same element objetc WALID BELRHALMIA <wbelrhalmia@gmail.com> - 2015-09-10 07:50 -0700
Re: problem same element objetc "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-10 17:12 +0200
Re: problem same element objetc Sam Desborough <sam.desborough@gmail.com> - 2015-09-10 11:43 -0700
Re: problem same element objetc "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-10 21:04 +0200
csiph-web