function goldteeth (form) { var price =form.price.value; if (price == "1") form.total.value = 200 else if (price == "2") form.total.value = 300 else if (price == 3) form.total.value = 400 } function cleet (form) { if (form.kit.value = "2") form.total.value = form.total.value + 20 } </script>
also here is a site with the program i tried to make. My Webpage