Article View: pl.comp.lang.javascript
Article #49898Re: ENTER lub SUBMIT za pomocą JS
From: liten.jente76
Date: Tue, 03 Sep 2013 13:56
Date: Tue, 03 Sep 2013 13:56
14 lines
2664 bytes
2664 bytes
Mam coś takiego ...
<h2>Napisz do nas</h2>
<form id="form" method="post" >
<fieldset>
<label><input type="text" value="Name" onBlur="if(this.value=='') this.value='Name'" onFocus="if(this.value =='Name' ) this.value=''"></label>
<label><input type="text" value="Email" onBlur="if(this.value=='') this.value='Email'" onFocus="if(this.value =='Email' ) this.value=''"></label>
<label><input type="text" value="Phone" onBlur="if(this.value=='') this.value='Phone'" onFocus="if(this.value =='Phone' ) this.value=''"></label>
<label><textarea onBlur="if(this.value==''){this.value='Message'}" onFocus="if(this.value=='Message'){this.value=''}">Message</textarea></label>
<div class="btns"><a href="#" class="button">Czysc</a><a href="#" class="button" onClick="document.getElementById('form').submit()">Wyslij</a></div>
</fieldset>
</form>
i nie wiem co jak wpisać, by ten formularz sie wysyłał. Na innych stronach przeczytałam, że musi być utworzony plik php, ale po co ? To jest template i zakładam, że musi być gotowym szablonem, bez koniecznosci tworzenia dodatkowych plików.... Dziekuję za pomoc.
Technical Details
Message-ID:
<899912ce-87cb-43d3-b713-c88214b9ae95@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!j7no139268qai.0!news-out.google.com!p7ni617qas.0!nntp.google.com!q10no2514784qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<1xhz3ki6tb9yp.dlg@askibicki.com> <9b9ea293-7a1f-4a35-9140-3175901aef1b@r1g2000yqj.googlegroups.com> <ljov769xru40.dlg@askibicki.com> <hp03gs$751$1@news.onet.pl>Show Full Headers
Complete Article Headers
X-Received: by 10.236.124.33 with SMTP id w21mr10346078yhh.15.1378216602544; Tue, 03 Sep 2013 06:56:42 -0700 (PDT) X-Received: by 10.49.129.65 with SMTP id nu1mr2998qeb.41.1378216602521; Tue, 03 Sep 2013 06:56:42 -0700 (PDT) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!j7no139268qai.0!news-out.google.com!p7ni617qas.0!nntp.google.com!q10no2514784qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.javascript Date: Tue, 3 Sep 2013 06:56:42 -0700 (PDT) In-Reply-To: <hp03gs$751$1@news.onet.pl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.77.124.118; posting-account=l344gwoAAABFVbbfxFiA9sFOhN5Gl-nS NNTP-Posting-Host: 46.77.124.118 References: <1xhz3ki6tb9yp.dlg@askibicki.com> <9b9ea293-7a1f-4a35-9140-3175901aef1b@r1g2000yqj.googlegroups.com> <ljov769xru40.dlg@askibicki.com> <hp03gs$751$1@news.onet.pl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <899912ce-87cb-43d3-b713-c88214b9ae95@googlegroups.com> Subject: Re: ENTER lub SUBMIT za pomocą JS From: liten.jente76@gmail.com Injection-Date: Tue, 03 Sep 2013 13:56:42 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit