🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: div

#299
From: pOLy
Date: Tue, 08 Jan 2002 12:24
13 lines
1305 bytes
> mam sobie cos takiego: <div id="divek">&nbsp;</div>
> jak zrobic, zeby w srodku tego taga wstawic przez javascript jakis tekst?
> mam procedurke, jednak dziala ona pod netscapem4.5, pod ie, ale nie dziala
> pod netscapem6.2
pod nn6 o ile pamietam trzeba cos takiego dopisac...

zmienna = document.getElementById("nazwa_id_warstwy");
zmienna.innerHTML = "zawartosc";

-- 
*-* Naskrobał - Daniel pOLy Antonik *-*
|wroclaw.ircnet.pl - better way of irc|
\--*--++--*---++---*---++---*--++--*--/
Technical Details
Message-ID: <MPG.16a503602d7044f5989705@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: <3c3add07$1@news.vogel.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: pOLy <poly@poland.com>
Newsgroups: pl.comp.lang.javascript
Subject: Re: div
Date: Tue, 8 Jan 2002 13:24:20 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 13
Message-ID: <MPG.16a503602d7044f5989705@news.tpi.pl>
References: <3c3add07$1@news.vogel.pl>
Reply-To: poly@poland.com
NNTP-Posting-Host: pa130.trzebnica.sdi.tpnet.pl
Mime-Version: 1.0
X-Trace: news.tpi.pl 1010492841 25712 217.98.144.130 (8 Jan 2002 12:27:21 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 8 Jan 2002 12:27:21 +0000 (UTC)
X-Newsreader: MicroPlanet Gravity v2.50
X-Global: Powered by pOLy
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit