Article View: pl.comp.lang.javascript
Article #49896Re: ENTER lub SUBMIT za pomocą JS
From: Krzysztof Kostoń
Date: Wed, 31 Mar 2010 18:15
Date: Wed, 31 Mar 2010 18:15
14 lines
1459 bytes
1459 bytes
Użytkownik "AndrzejSki" <as@askibicki.com> napisał w wiadomości
news:ljov769xru40.dlg@askibicki.com...
> zapisałem to chyba dobrze
>
> <script type="text/javascript">
> setTimeout(function () {
> document.getElementById('form').submit();
> }, 5000);
> </script>
Dobrze pod warunkiem, że formularz na stronie ma id="form"
K.
Technical Details
Message-ID:
<hp03gs$751$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mailReferences:
<1xhz3ki6tb9yp.dlg@askibicki.com> <9b9ea293-7a1f-4a35-9140-3175901aef1b@r1g2000yqj.googlegroups.com> <ljov769xru40.dlg@askibicki.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail From: Krzysztof Kostoń <rejestracja_do_spamu@o2.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: ENTER lub SUBMIT za pomocą JS Date: Wed, 31 Mar 2010 19:15:44 +0100 Organization: http://onet.pl Lines: 17 Message-ID: <hp03gs$751$1@news.onet.pl> References: <1xhz3ki6tb9yp.dlg@askibicki.com> <9b9ea293-7a1f-4a35-9140-3175901aef1b@r1g2000yqj.googlegroups.com> <ljov769xru40.dlg@askibicki.com> NNTP-Posting-Host: 92.27.9.183 X-Trace: news.onet.pl 1270059357 7329 92.27.9.183 (31 Mar 2010 18:15:57 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Wed, 31 Mar 2010 18:15:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-Antivirus: avast! (VPS 100331-1, 31.03.2010), Outbound message X-Antivirus-Status: Clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit