Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function calc() {
- var wys = document.getElementById("wys").value;
- var sz = document.getElementById("sz").value;
- var koszt = 12;
- document.getElementById("m2").value = (wys*sz) + ' m2';
- document.getElementById("kszt").value = (wys*sz)*koszt + ' zł';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement