🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Dynamiczne dodawanie wiersza tabeli

#39241
From: talthen.z-serwera.o2
Date: Thu, 30 Mar 2006 10:08
18 lines
1744 bytes
Użytkownik "ethanak" <sweethanak@buziaczek.pl> napisał w wiadomości 
news:e0fpph$qls$1@news.onet.pl...
>RozwiÄ…zanie (tym razem sprawdzone FF, IE, Opera, Konqueror)

>var gdzie=document.getElementById('morefields');
>var co="<table><tr><td>Kolumna 1</td><td>Kolumna2</td></tr></table>";
>var div=document.createElement('div');
>div.innerHTML=co;
>gdzie.appendChild(div.getElementsByTagName('tr')[0]);
>i oczywiście <tbody id="morefields">

No tak, ale robienie dla kazdego wiersza nowej tabeli to troche takie... 
hm... dziwne ;/
I czy przypadkiem te tabelki nie beda nieco rozjechane (tzn. inne szerokosci 
kolumn)?

Pozdrawiam,
Talthen 
Technical Details
Message-ID: <e0gann$bh7$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <e0btiv$i1u$1@nemesis.news.tpi.pl> <e0dbgc$248$1@news.onet.pl> <e0ejv1$pcf$1@atlantis.news.tpi.pl> <e0fpph$qls$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: <talthen.z-serwera.o2@nospam.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Dynamiczne dodawanie wiersza tabeli
Date: Thu, 30 Mar 2006 12:08:33 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 20
Message-ID: <e0gann$bh7$1@atlantis.news.tpi.pl>
References: <e0btiv$i1u$1@nemesis.news.tpi.pl> <e0dbgc$248$1@news.onet.pl> <e0ejv1$pcf$1@atlantis.news.tpi.pl> <e0fpph$qls$1@news.onet.pl>
NNTP-Posting-Host: pa49.klewki.sdi.tpnet.pl
X-Trace: atlantis.news.tpi.pl 1143713335 11815 217.96.218.49 (30 Mar 2006 10:08:55 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Thu, 30 Mar 2006 10:08:55 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit