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