🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

pomocyyyyyyyy

#44103
From: sk
Date: Tue, 15 May 2007 14:55
15 lines
1154 bytes
Witam

Piszę pod php skrypt drukujący następującą procedure javascript:

var a=document.getElementById("medium").getElementsByTagName("div");


     for (var i = 1; i < a.length; i++)

     {a.item(i).childNodes[1].onclick=function() { return 
usun(\'medium\',i)};


dlaczego po jej uruchomieniu w przegladarce nie jest wstawiana wartość i 
tylko zostaje "i"
Technical Details
Message-ID: <f2chlj$obd$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: sk <skuro@nospam.wp.pl>
Newsgroups: pl.comp.lang.javascript
Subject: pomocyyyyyyyy
Date: Tue, 15 May 2007 16:55:05 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 15
Message-ID: <f2chlj$obd$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: cfn187.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1179240948 24941 83.30.215.187 (15 May 2007 14:55:48 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 15 May 2007 14:55:48 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit