🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: zmiana wartosci w formularzu za pomoca button

#39513
From: pawel
Date: Thu, 20 Apr 2006 10:43
9 lines
1661 bytes
napisalem wiec cos takiego:
<label>wartosc <input type="text" name="wartosc" value="0" ></label>
<input type=button onclick="this.form.wartosc.value =
parseInt(this.form.wartosc.value)+1" value="zwieksz">

ale niestety nie powoduje to zwiekszenia o jeden, choc calosc
wydaje sie byc poprawna, bo paresInt zamienia string na wartosc
integer i dodaje 1. Jednak nie dziala. Moze jakas podpowiedz
jeszcze?
Technical Details
Message-ID: <1145529808.008275.122110@j33g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail
References: <1145477366.619564.302330@e56g2000cwe.googlegroups.com> <op.s79yy5svfux2e6@pornel.net> <e27j54$gjc$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail
From: "pawel" <takijeden1@gmail.com>
Newsgroups: pl.comp.lang.javascript
Subject: Re: zmiana wartosci w formularzu za pomoca button
Date: 20 Apr 2006 03:43:28 -0700
Organization: http://groups.google.com
Lines: 10
Message-ID: <1145529808.008275.122110@j33g2000cwa.googlegroups.com>
References: <1145477366.619564.302330@e56g2000cwe.googlegroups.com>   <op.s79yy5svfux2e6@pornel.net>   <e27j54$gjc$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: 193.19.165.13
Mime-Version: 1.0
X-Trace: posting.google.com 1145529815 6003 127.0.0.1 (20 Apr 2006 10:43:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 20 Apr 2006 10:43:35 +0000 (UTC)
In-Reply-To: <e27j54$gjc$1@atlantis.news.tpi.pl>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: j33g2000cwa.googlegroups.com; posting-host=193.19.165.13;   posting-account=9mn-IA0AAAB6bTr7lfVQjtE23JC0bnXy
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit