🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Takie tam żałosne pytanko

#50957
From: Peter May
Date: Mon, 21 Nov 2011 19:22
32 lines
1532 bytes
W dniu 2011-11-21 12:39, Ciekawy pisze:
> Function dopisz()

function Dopisz()

> {var napis = document.getElementById("IWDBEDIT1").value
> +document.getElementById("IWDBEDIT2").value;
>
> document.getElementById("IWDBEDIT11").value = napis;
>
> }
>
> i w zdarzeniu onBlur wywołanie tej funkcji poprzez
>
> Dopisz();
>
> Otrzymuję błąd z Mozilli typu:
>
> missing ; before statement
>
> Tyle że wydaje mi się że wszystkie średniki są na miejscu

Function (1) to nie to samo co function (2).

1) 
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function

2. 
https://developer.mozilla.org/en/JavaScript/Reference/Operators/Special/function

-- 
Peter
Technical Details
Message-ID: <jae8dn$8d7$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mail
References: <jaddac$o8d$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mail
From: Peter May <peter.may@onet.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Takie tam żałosne pytanko
Date: Mon, 21 Nov 2011 20:22:28 +0100
Organization: http://onet.pl
Lines: 32
Message-ID: <jae8dn$8d7$1@news.onet.pl>
References: <jaddac$o8d$1@inews.gazeta.pl>
NNTP-Posting-Host: 89.204.137.162
Mime-Version: 1.0
X-Trace: news.onet.pl 1321903352 8615 89.204.137.162 (21 Nov 2011 19:22:32 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Mon, 21 Nov 2011 19:22:32 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To: <jaddac$o8d$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit