Widget:YieldCalc: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<includeonly> | <includeonly> | ||
<p id=" | <p id="foodYieldForm"></p> | ||
<form id="yieldCalc"> | <form id="yieldCalc"> | ||
Line 34: | Line 34: | ||
document.getElementById("foodYield").innerHTML = z; | document.getElementById("foodYield").innerHTML = z; | ||
let foodYieldForm = document.getElementById("foodYieldForm"); | |||
</script> | </script> | ||
</includeonly> | </includeonly> |
Revision as of 21:44, 24 October 2024
This widget is used to display and calculate the yield with the values submitted by the user.
Usage: {{#Widget:YieldCalc}}