🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: dynamiczne obliczanie wygranej bez przeladowania

#39317
From: Exe Very Cute
Date: Tue, 04 Apr 2006 00:33
35 lines
1742 bytes
Sorewicz napisał(a):
> Jednak dupa blada

Teraz będzie dobrze:

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

  var kurs = 2.50;

  function obliczIle()
  {
   var stawka = document.getElementById('pole1').value;
   document.getElementById('wynik').value = kurs * stawka;
  }

</script>
</head>

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


Pzdr
Exe Very Cute
Technical Details
Message-ID: <e0sert$ete$1@news.dialog.net.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.dialog.net.pl!not-for-mail
References: <e0s76q$kd9$1@artemida.po.opole.pl> <e0scbr$m96$1@artemida.po.opole.pl> <e0seb8$n2r$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!news.dialog.net.pl!not-for-mail
From: Exe Very Cute <kshksh@poczta.Xonet.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: dynamiczne obliczanie wygranej bez przeladowania
Date: Tue, 04 Apr 2006 02:33:15 +0200
Organization: Dialog Net
Lines: 35
Message-ID: <e0sert$ete$1@news.dialog.net.pl>
References: <e0s76q$kd9$1@artemida.po.opole.pl> <e0scbr$m96$1@artemida.po.opole.pl> <e0seb8$n2r$1@artemida.po.opole.pl>
Reply-To: kshksh@poczta.Xonet.pl
NNTP-Posting-Host: xdsl-2881.bielsko.dialog.net.pl
Mime-Version: 1.0
X-Trace: news.dialog.net.pl 1144110782 15278 84.40.210.65 (4 Apr 2006 00:33:02 GMT)
X-Complaints-To: abuse@dialog.net.pl
NNTP-Posting-Date: Tue, 4 Apr 2006 00:33:02 +0000 (UTC)
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <e0seb8$n2r$1@artemida.po.opole.pl>
X-Antivirus: avast! (VPS 0614-0, 2006-04-03), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit