🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: dynamiczne obliczanie wygranej bez przeladowania

#39315
From: Sorewicz
Date: Mon, 03 Apr 2006 23:50
31 lines
1689 bytes
Sorry ze zawracalem dupe - juz to zrobilem i nie bylo takie trudne ;)

oto rozwiązanie dla ciekawskich :) Pozdro

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">

<script language="JavaScript">
 var kurs = "2.50"
 function obliczIle()
  {
  var stawka = test.pole1.value;
  var wynik = kurs * stawka;
  test.wynik.value=wynik;


  }
 </script>

</head>

<body>
<form method="get" name="test" action="test.php" target="test.php"> <input
name="pole1" size="5" type="text" value="0.00" onkeyup="obliczIle()"><br>
<input type="text" name="wynik" size="15" >
</form>

</body>
</html>
Technical Details
Message-ID: <e0scbr$m96$1@artemida.po.opole.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!pwr.wroc.pl!panorama.wcss.wroc.pl!news.man.opole.pl!not-for-mail
References: <e0s76q$kd9$1@artemida.po.opole.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!pwr.wroc.pl!panorama.wcss.wroc.pl!news.man.opole.pl!not-for-mail
From: "Sorewicz" <micbis@wp.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: dynamiczne obliczanie wygranej bez przeladowania
Date: Tue, 4 Apr 2006 01:50:15 +0200
Organization: Technical University of Opole
Lines: 33
Message-ID: <e0scbr$m96$1@artemida.po.opole.pl>
References: <e0s76q$kd9$1@artemida.po.opole.pl>
Reply-To: "Sorewicz" <micbis@wp.pl>
NNTP-Posting-Host: lan9-zaodrze.punkt.pl
X-Trace: artemida.po.opole.pl 1144108219 22822 217.197.66.10 (3 Apr 2006 23:50:19 GMT)
X-Complaints-To: root@po.opole.pl
NNTP-Posting-Date: Mon, 3 Apr 2006 23:50:19 +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; Response
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit