🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #384

Re: Jak odwolac sie do TAGa z atrybutem ID w NN6.x

#384
From: [sis]
Date: Fri, 11 Jan 2002 13:31
15 lines
1343 bytes
> Majac np. <div id="cos">......</div> w NN4.7 mozna bylo sie odwolac do
tego
> elementu poprzez 'document.cos'. Natomiast w NN6.x to juz nie dziala w ten
> sposob. Czy ktos wie jak moge znalezc ten obiekt/tag? (jak powinienem sie
do
> niego odwolywac)

nie tak do konca jak napisales, ale chodzi Ci zapewne o:

document.getElementById('cos') //ns6+ie5up
document.all('cos') // ie4+
document.layers['cos'] // ns4.x

pozdrawiam,
Kamil
Technical Details
Message-ID: <a1mpfg$nda$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <a1m627$5o8$1@news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: "[sis]" <sisqo@board.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Jak odwolac sie do TAGa z atrybutem ID w NN6.x
Date: Fri, 11 Jan 2002 14:31:43 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 17
Message-ID: <a1mpfg$nda$1@news.tpi.pl>
References: <a1m627$5o8$1@news.tpi.pl>
NNTP-Posting-Host: pa174.katowice.cvx.ppp.tpnet.pl
X-Trace: news.tpi.pl 1010755889 23978 213.76.8.174 (11 Jan 2002 13:31:29 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 11 Jan 2002 13:31:29 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit