From mike.wright@mailinator.com Fri Jun 5 18:51:41 2015 From: Mike Wright To: users@lists.fedoraproject.org Subject: OT: need javascript/DOM help Date: Fri, 20 Jun 2008 14:09:45 -0700 Message-ID: <485C1C99.9000908@mailinator.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3033499700982791352==" --===============3033499700982791352== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Listizens, I'm working on a project but am absolutely stymied and need outside help. Both konqueror and firefox exhibit the same behavior so I don't think this is a browser bug. I've checked the xhtml1-strict.dtd and it says that anchor tags support the core attributes which include "id"; however, the following html doesn't produce the expected results. Are there any javascript/DOM gurus out there who can tell me why the html page below finds the

tag and the

tag but ignores the tag. Sorry for the OT/wrong forum post, but I find the collective knowledge of the fedora users to be one of the best out there... and the most helpful. TIA, Mike Wright :m) Below is the html being tested. ===================== Javascript DOM Experiments

--===============3033499700982791352==-- From bassel.safadi@gmail.com Fri Jun 5 18:51:42 2015 From: Bassel Safadi To: users@lists.fedoraproject.org Subject: Re: OT: need javascript/DOM help Date: Sat, 21 Jun 2008 01:08:37 +0300 Message-ID: <317223670806201508o71c62233l2a3f4aeedc12c6ab@mail.gmail.com> In-Reply-To: <485C1C99.9000908@mailinator.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3666475753126405116==" --===============3666475753126405116== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sat, Jun 21, 2008 at 12:09 AM, Mike Wright wrote: > Hi Listizens, > > I'm working on a project but am absolutely stymied and need outside help. > Both konqueror and firefox exhibit the same behavior so I don't think this > is a browser bug. > > I've checked the xhtml1-strict.dtd and it says that anchor tags support the > core attributes which include "id"; however, the following html doesn't > produce the expected results. > > Are there any javascript/DOM gurus out there who can tell me why the html > page below finds the

tag and the

tag but ignores the tag. > > Sorry for the OT/wrong forum post, but I find the collective knowledge of > the fedora users to be one of the best out there... and the most helpful. > > TIA, > Mike Wright :m) > > Below is the html being tested. > > ===================== > > > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > Javascript DOM Experiments > > >

> >
>

>
> > > > > > > will it's simple , what do you want to get from the getElementById('')? I mean if you're trying to know what kind of element is it, just to process it in some how, then you will not get a result from just using the getElemntByid thing for example: d.getElementById('p'); will return in Firefox: [object HTMLParagraphElement] in IE Mac: [object P] why don't you just specify what you want to get back from it let's say you may use: var a = d.getElementById('a').innerText; by the way adding href="" to the anchor tag will let var a = d.getElementById('a'); return the href it self, if you still need an output that looks like: [object HTMLanchorElement] tell me and will find a work around for you... --===============3666475753126405116== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGJyPjxicj48ZGl2IGNsYXNzPSJnbWFpbF9xdW90ZSI+T24gU2F0LCBKdW4gMjEsIDIwMDggYXQg MTI6MDkgQU0sIE1pa2UgV3JpZ2h0ICZsdDs8YSBocmVmPSJtYWlsdG86bWlrZS53cmlnaHRAbWFp bGluYXRvci5jb20iPm1pa2Uud3JpZ2h0QG1haWxpbmF0b3IuY29tPC9hPiZndDsgd3JvdGU6PGJy PjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9ImJvcmRlci1sZWZ0OiAxcHgg c29saWQgcmdiKDIwNCwgMjA0LCAyMDQpOyBtYXJnaW46IDBwdCAwcHQgMHB0IDAuOGV4OyBwYWRk aW5nLWxlZnQ6IDFleDsiPgpIaSBMaXN0aXplbnMsPGJyPgo8YnI+CkkmIzM5O20gd29ya2luZyBv biBhIHByb2plY3QgYnV0IGFtIGFic29sdXRlbHkgc3R5bWllZCBhbmQgbmVlZCBvdXRzaWRlIGhl bHAuICZuYnNwO0JvdGgga29ucXVlcm9yIGFuZCBmaXJlZm94IGV4aGliaXQgdGhlIHNhbWUgYmVo YXZpb3Igc28gSSBkb24mIzM5O3QgdGhpbmsgdGhpcyBpcyBhIGJyb3dzZX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eSB3aGF0IHlvdSB3YW50IHRvIGdldCBiYWNrIGZyb20gaXQgbGV0JiMzOTtz IHNheSB5b3UgbWF5IHVzZTo8YnI+PGJyPgombmJzcDt2YXIgYSA9IGQuZ2V0RWxlbWVudEJ5SWQo JiMzOTthJiMzOTspLmlubmVyVGV4dDs8YnI+YnkgdGhlIHdheSBhZGRpbmcgaHJlZj0mcXVvdDsm cXVvdDsgdG8gdGhlIGFuY2hvciB0YWcgd2lsbCBsZXQmbmJzcDsgdmFyIGEgPSBkLmdldEVsZW1l bnRCeUlkKCYjMzk7YSYjMzk7KTsgcmV0dXJuIHRoZSBocmVmIGl0IHNlbGYsIGlmIHlvdSBzdGls bCBuZWVkIGFuIG91dHB1dCB0aGF0IGxvb2tzIGxpa2U6PGJyPgpbb2JqZWN0IEhUTUxhbmNob3JF bGVtZW50XTxicj48YnI+dGVsbCBtZSBhbmQgd2lsbCBmaW5kIGEgd29yayBhcm91bmQgZm9yIHlv dS4uLjxicj4K --===============3666475753126405116==-- From mike.wright@mailinator.com Fri Jun 5 18:51:44 2015 From: Mike Wright To: users@lists.fedoraproject.org Subject: Re: OT: need javascript/DOM help Date: Fri, 20 Jun 2008 15:42:15 -0700 Message-ID: <485C3247.7090400@mailinator.com> In-Reply-To: <317223670806201508o71c62233l2a3f4aeedc12c6ab@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7991905284684105520==" --===============7991905284684105520== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Bassel Safadi wrote: > On Sat, Jun 21, 2008 at 12:09 AM, Mike Wright > wrote: > > >>Are there any javascript/DOM gurus out there who can tell me why the html >>page below finds the

tag and the

tag but ignores the tag. >> >>Below is the html being tested. >> >>===================== >> >> >>> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >> >>Javascript DOM Experiments >> >> >>

>> >>
>>

>>
>> >> >> >> >> >> >> > will it's simple , > what do you want to get from the getElementById('')? > I mean if you're trying to know what kind of element is it, just to process > it in some how, then you will not get a result from just using the > getElemntByid thing for example: > > d.getElementById('p'); > will return in Firefox: [object HTMLParagraphElement] > in IE Mac: [object P] > > why don't you just specify what you want to get back from it let's say you > may use: > > var a = d.getElementById('a').innerText; > by the way adding href="" to the anchor tag will let var a = > d.getElementById('a'); return the href it self, if you still need an output > that looks like: > [object HTMLanchorElement] > > tell me and will find a work around for you... Thanks for your generous offer, Bassel. I need the node so I can use "nextSibling". What I'm trying to accomplish is to "display:none" or "display:block" the following element whenever the is onclicked. As you pointed out "document.getElementById()" returns not the id, but the href. (That really puzzles me and differs from the O'Reilly books on Javascript and Dynamic HTML). Is this a known bug? If it is I will have to wrap my tags in such a way that I can find the other node relative to it some other way. If you have ideas I'm eager and open eared :) Mike Wright :m) --===============7991905284684105520==-- From mike.wright@mailinator.com Fri Jun 5 18:51:44 2015 From: Mike Wright To: users@lists.fedoraproject.org Subject: Re: OT: [kind of SOLVED] need javascript/DOM help Date: Fri, 20 Jun 2008 16:10:59 -0700 Message-ID: <485C3903.8080803@mailinator.com> In-Reply-To: <485C3247.7090400@mailinator.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3017703969486313175==" --===============3017703969486313175== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Mike Wright wrote: > Bassel Safadi wrote: > >> On Sat, Jun 21, 2008 at 12:09 AM, Mike Wright wrote: >> >>> Are there any javascript/DOM gurus out there who can tell me why the >>> html page below does not behave as expected? >>> >>> Below is the html being tested. >>> >>> ===================== >>> >>> >>> >> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >>> >>> Javascript DOM Experiments >>> >>>

>>>
>>> >>> >>> >> var a = d.getElementById('a').innerText; >> by the way adding href="" to the anchor tag will let var a = >> d.getElementById('a'); return the href it self, if you still need an >> output >> that looks like: >> [object HTMLanchorElement] >> >> tell me and will find a work around for you... > > Thanks for your generous offer, Bassel. > > I need the node so I can use "nextSibling". > > As you pointed out "document.getElementById()" returns not the id, but > the href. (That really puzzles me and differs from the O'Reilly books > on Javascript and Dynamic HTML). --===============3017703969486313175==-- From bassel.safadi@gmail.com Fri Jun 5 18:51:44 2015 From: Bassel Safadi To: users@lists.fedoraproject.org Subject: Re: OT: need javascript/DOM help Date: Sat, 21 Jun 2008 01:20:25 +0200 Message-ID: <317223670806201620x1552db1cna0d755e606ce7bd8@mail.gmail.com> In-Reply-To: <485C3247.7090400@mailinator.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5023901642497258417==" --===============5023901642497258417== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > What I'm trying to accomplish is to "display:none" or "display:block" the > following element whenever the is onclicked. > Maybe this will help you to accomplish the flip flop part of your situation now you can simply: Flip Flop some thing if this isn't what you need or if you can't apply the nextSibling thing on the above function, then please tell... > > As you pointed out "document.getElementById()" returns not the id, but the > href. (That really puzzles me and differs from the O'Reilly books on > Javascript and Dynamic HTML). > > Is this a known bug? If it is I will have to wrap my tags in such a way > that I can find the other node relative to it some other way. > it may be a known bug for Mozilla like browsers --===============5023901642497258417== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGJyPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj48YmxvY2txdW90ZSBjbGFzcz0iZ21haWxfcXVv dGUiIHN0eWxlPSJib3JkZXItbGVmdDogMXB4IHNvbGlkIHJnYigyMDQsIDIwNCwgMjA0KTsgbWFy Z2luOiAwcHQgMHB0IDBwdCAwLjhleDsgcGFkZGluZy1sZWZ0OiAxZXg7Ij4KV2hhdCBJJiMzOTtt IHRyeWluZyB0byBhY2NvbXBsaXNoIGlzIHRvICZxdW90O2Rpc3BsYXk6bm9uZSZxdW90OyBvciAm cXVvdDtkaXNwbGF5OmJsb2NrJnF1b3Q7IHRoZSBmb2x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m9yZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0LCAyMDQsIDIw NCk7IG1hcmdpbjogMHB0IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4OyI+Cjxicj4K QXMgeW91IHBvaW50ZWQgb3V0ICZxdW90O2RvY3VtZW50LmdldEVsZW1lbnRCeUlkKCkmcXVvdDsg cmV0dXJucyBub3QgdGhlIGlkLCBidXQgdGhlIGhyZWYuICZuYnNwOyhUaGF0IHJlYWxseSBwdXp6 bGVzIG1lIGFuZCBkaWZmZXJzIGZyb20gdGhlIE8mIzM5O1JlaWxseSBib29rcyBvbiBKYXZhc2Ny aXB0IGFuZCBEeW5hbWljIEhUTUwpLjxicj4KPGJyPgpJcyB0aGlzIGEga25vd24gYnVnPyAmbmJz cDtJZiBpdCBpcyBJIHdpbGwgaGF2ZSB0byB3cmFwIG15IHRhZ3MgaW4gc3VjaCBhIHdheSB0aGF0 IEkgY2FuIGZpbmQgdGhlIG90aGVyIG5vZGUgcmVsYXRpdmUgdG8gaXQgc29tZSBvdGhlciB3YXku PGJyPjwvYmxvY2txdW90ZT48L2Rpdj48YnI+aXQgbWF5IGJlIGEga25vd24gYnVnIGZvciBNb3pp bGxhIGxpa2UgYnJvd3NlcnM8YnI+Cg== --===============5023901642497258417==-- From bassel.safadi@gmail.com Fri Jun 5 18:51:44 2015 From: Bassel Safadi To: users@lists.fedoraproject.org Subject: Re: OT: [kind of SOLVED] need javascript/DOM help Date: Sat, 21 Jun 2008 01:29:09 +0200 Message-ID: <317223670806201629w54ce6accue26788bdbdf2a6a@mail.gmail.com> In-Reply-To: <485C3903.8080803@mailinator.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2919207598956234544==" --===============2919207598956234544== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sat, Jun 21, 2008 at 1:10 AM, Mike Wright wrote: > Mike Wright wrote: > >> Bassel Safadi wrote: >> >> On Sat, Jun 21, 2008 at 12:09 AM, Mike Wright wrote: >>> >>> Are there any javascript/DOM gurus out there who can tell me why the >>>> html page below does not behave as expected? >>>> >>>> Below is the html being tested. >>>> >>>> ===================== >>>> >>>> >>>> >>> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >>>> >>>> Javascript DOM Experiments >>>> >>>>

>>>> >>>>