🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Co znaczy ten błšd?

#39523
From: Jacek Karczmarczyk
Date: Thu, 20 Apr 2006 09:14
23 lines
1552 bytes
Jacek Karczmarczyk napisał(a):
> Dariusz Rogalski napisał(a):
>> oto kod
>>     function clearChildren()
>>     {
>>         var theObj = document.getElementById('listaSekcji');
>>         while(theObj.childNodes.lenght > 0)
>                                         ^^^^^^
> 
>>         {
>>                 theObj.removeChild(theObj.lastChild);
>>         }
>>     }
> 
> 

coś mi się źle znaczki wpasowały... jest literówka w lenght

-- 
Jacek Karczmarczyk
"Podoba mi sie to, co panowie mowia, ze sie podoba..." / Rejs

[ http://larch.nazwa.pl ]
Technical Details
Message-ID: <e27jdt$a86$3@node3.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
References: <MPG.1eb16cd699cb5886989680@news.man.szczecin.pl> <e27j0k$a86$1@node3.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
From: Jacek Karczmarczyk <j.karczmarczyk@blablabla.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Co znaczy ten błšd?
Date: Thu, 20 Apr 2006 11:14:34 +0200
Organization: ATMAN
Lines: 23
Message-ID: <e27jdt$a86$3@node3.news.atman.pl>
References: <MPG.1eb16cd699cb5886989680@news.man.szczecin.pl> <e27j0k$a86$1@node3.news.atman.pl>
NNTP-Posting-Host: cust-194-54-190-90.flashnet.pl
Mime-Version: 1.0
X-Trace: node3.news.atman.pl 1145524477 10502 194.54.190.90 (20 Apr 2006 09:14:37 GMT)
X-Complaints-To: abuse@atman.pl
NNTP-Posting-Date: Thu, 20 Apr 2006 09:14:37 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.7.3.0
In-Reply-To: <e27j0k$a86$1@node3.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit