🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: onclick zmiana value w field

#39702
From: niedziedz
Date: Fri, 28 Apr 2006 03:51
33 lines
1654 bytes
> mam form z 3 addresami i polami hiden
> 
> form
> <input type="text" id="address1">
> <input type='hidden' name='pole_address1' value='0'>
> 
> <input type="text" id="address2">
> <input type='hidden' name='pole_address2' value='0'>
> 
> <input type="text" id="address3">
> <input type='hidden' name='pole_address3' value='0'>
> 
> /form
> 
> potrzube zrobic oddzielne przyciske <przycisk> ktory ustawia value w 
> polu hidden na '1'

<form name="forma">
<input type="text" onclick="forma.pole_address3.value=this.value">
<input type='hidden' name='pole_address3' value='0'>
</form>

może być ?? :)

> mam nadzieje ze rozumienie oco mi chodzi piene dzieki za pomoc

Ja rónież taką nadzieję żywie :P

Pozdrowionka


-- 
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Technical Details
Message-ID: <5124.00000003.44519133@newsgate.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl
References: <e2rriq$1og$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl
From: niedziedz@vp.pl
Newsgroups: pl.comp.lang.javascript
Subject: Re: onclick zmiana value w field
Date: 28 Apr 2006 05:51:15 +0200
Organization: Onet.pl SA
Lines: 33
Message-ID: <5124.00000003.44519133@newsgate.onet.pl>
References: <e2rriq$1og$1@inews.gazeta.pl>
NNTP-Posting-Host: newsgate.onet.pl
Mime-Version: 1.0
X-Trace: newsgate.test.onet.pl 1146196275 6801 213.180.130.18 (28 Apr 2006 03:51:15 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 28 Apr 2006 03:51:15 GMT
X-Mailer: http://niusy.onet.pl
X-Forwarded-For: 83.11.1.168, 192.168.243.173
X-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;    Maxthon; .NET CLR 1.1.4322)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit