Article View: pl.comp.lang.javascript
Article #39511Re: zmiana wartosci w formularzu za pomoca button
From: porneL
Date: Wed, 19 Apr 2006 21:50
Date: Wed, 19 Apr 2006 21:50
19 lines
1453 bytes
1453 bytes
On Wed, 19 Apr 2006 21:09:26 +0100, pawel <takijeden1@gmail.com> wrote:
> mam palmptopa z windows CE bez klawiatury. Chcialbym aby w polu
> formularza móc zmienic wartosc, np. zwiekszyc, lub zmniejszyc
> istniejaca.
> Chcialbym do tego uzyc 2ch przycisków zwiekszajacy o 1 i
> zmniejszajacy o 1. Jak wprowadzic wartosc ze zmiennej w java script
> do pola formularza?
Java nie ma skryptów.
Natomiast w JavaScript to będzie mniejwięcej:
<input type=button onclick="this.form.nazwapola.value =
parseInt(this.form.nazwapola.value)+1" value="zwiększ">
--
* html {redirect-to: url(http://kurs.browsehappy.pl);}
this.author = new Geek("porneL");
Technical Details
Message-ID:
<op.s79yy5svfux2e6@pornel.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<1145477366.619564.302330@e56g2000cwe.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: porneL <niusy@pornel.net> Newsgroups: pl.comp.lang.javascript Subject: Re: zmiana wartosci w formularzu za pomoca button Date: Wed, 19 Apr 2006 22:50:55 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 19 Message-ID: <op.s79yy5svfux2e6@pornel.net> References: <1145477366.619564.302330@e56g2000cwe.googlegroups.com> NNTP-Posting-Host: pornel.plus.com Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1145483457 4764 84.92.248.233 (19 Apr 2006 21:50:57 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Wed, 19 Apr 2006 21:50:57 +0000 (UTC) X-User: pornelspam User-Agent: Opera Mail(BETA2)/9.00 (MacPPC) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit