Widget:YieldCalc: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<form id="foodYieldForm"> | <form id="foodYieldForm"> | ||
<input type="number" id="cityProd"><br /> | <input type="number" id="cityProd"><br /> | ||
<input type="submit" value="Calculate" | <input type="submit" value="Calculate" onClick="yieldScript()"> | ||
</form> | </form> | ||
<span id="outputvalue">Output Goes Here</span> | <span id="outputvalue">Output Goes Here</span> |
Revision as of 00:39, 25 October 2024
This widget is used to display and calculate the yield with the values submitted by the user.
Usage: {{#Widget:YieldCalc}}