🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wywołanie w kilku miejscach tej samej funkcji

#51288
From: Adam Aniołek
Date: Fri, 12 Apr 2013 20:48
17 lines
1321 bytes
Adam Aniołek wrote:

> Witam
> Mam taki problem:
> Jest sobie funkcja powiedzmy a() i jest ona jeden raz na 
stronie
> - jest ok działa
> druga sytuacja
> ta sama funkcja a() ale w kilku miejscach <a href=# 
onclick=a()>
> - i tu nie działa w firebagu pokazuje a() is not a function.
> 
> Jak zrobić aby jedną funkcję można było wywołać gdy 
występuje x
> razy na stronie?

Dobra już nie aktualne, nakładały mi się nazwy funckji
Technical Details
Message-ID: <kk9rus$tnp$1@news.task.gda.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mail
References: <kk9q3h$ocu$1@news.task.gda.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mail
From: Adam Aniołek <adam@poczta.emiter-uslugi.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Wywołanie w kilku miejscach tej samej funkcji
Date: Fri, 12 Apr 2013 22:48:32 +0200
Organization: CI TASK http://www.task.gda.pl/
Lines: 17
Message-ID: <kk9rus$tnp$1@news.task.gda.pl>
References: <kk9q3h$ocu$1@news.task.gda.pl>
NNTP-Posting-Host: 195.191.181.101.cable.sta.tczew.net.pl
Mime-Version: 1.0
X-Trace: news.task.gda.pl 1365799708 30457 195.191.181.101 (12 Apr 2013 20:48:28 GMT)
X-Complaints-To: abuse@news.task.gda.pl
NNTP-Posting-Date: Fri, 12 Apr 2013 20:48:28 +0000 (UTC)
User-Agent: KNode/4.10.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit