Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <script>
- function licz (formularz) {
- if (formularz.a.value==""||formularz.b.value=="");
- else {
- a=formularz.a.value;
- b=formularz.b.value;
- formularz.p.value=a * 4;
- formularz.o.value=b * 3;
- }
- }
- if (
- </script>
- <form name="formularz1" action="">
- Waluta Euro: <input type = "text" name = "a"> <br /> <br />
- Waluta Dolar: <input type = "text" name = "b"> <br /> <br />
- <input type = "button" value = "Oblicz" onClick = "licz(this.form)"><br> <br>
- Kwota Euro -> Złoty: <input type = "text" name = "p"> <br /> <br />
- Kwota Dolar -> Złoty: <input type = "text" name = "o"> <br /> <br />
- </form>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement