Article View: pl.comp.lang.javascript
Article #438Re: problem z submit()
From: Marcin Sciesinski
Date: Mon, 14 Jan 2002 11:52
Date: Mon, 14 Jan 2002 11:52
14 lines
1584 bytes
1584 bytes
"Andrzej Gruby" <pumeks_@onet.pl> wrote in message news:a1qc3o$bj$1@news.onet.pl... > Napisałem chat w php.W górnej ramce jest formularz w który wpisuje się tekst > wiadomosci. zawartosc formularza przesylana jest do dolnej ramki. Chciałem > aby po kazdorazowym wyslaniu zawartosci formularza jego pole typu "text" > było wyczyszczone. Próbowałem zastosować :<form name="f" action="..... > onSubmit "document.f.nazwa_pola.value=''">. Po takiej operacji pole > formularza było czysczone przed wysłaniem i do dolnej ramki docierał pusty > string.... uzyj: onSubmit="setTimeout(\"document.f.nazwa_pola.value=''\", 250);" Marcin Sciesinski
Technical Details
Message-ID:
<a1uhlu$94u$1@szmaragd.futuro.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!newsfeed.tpinternet.pl!szmaragd.futuro.pl!not-for-mailReferences:
<a1qc3o$bj$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!newsfeed.tpinternet.pl!szmaragd.futuro.pl!not-for-mail From: "Marcin Sciesinski" <marcin.sciesinski@biznespartner.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: problem z submit() Date: Mon, 14 Jan 2002 12:52:29 +0100 Organization: ProFuturo Lines: 16 Message-ID: <a1uhlu$94u$1@szmaragd.futuro.pl> References: <a1qc3o$bj$1@news.onet.pl> NNTP-Posting-Host: 62.233.138.198 X-Trace: szmaragd.futuro.pl 1011010046 9374 62.233.138.198 (14 Jan 2002 12:07:26 GMT) X-Complaints-To: usenet@futuro.pl NNTP-Posting-Date: Mon, 14 Jan 2002 12:07:26 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit