javascript - Simple mulch caculator won't fire on click and no error. jQuery and straigt js -
i'm attempting convert straight javacript function fire jquery .click i'm not getting output errors yet wont perform calculation on jsfiddle. var form = document.product_form_top; function process(v) { var value = parseint(document.getelementbyid('item_qty').value); value += v; document.getelementbyid('item_qty').value = value.tofixed(0); } function calculate() { form.cubicyards.value = (form.length.value / 3) * (form.width.value / 3) * (form.depth.value / 35); document.getelementbyid('yards').innerhtml = finaloutput var number = parsefloat(form.item_qty.value); var finaloutput = number.tofixed(0); form.item_qty.value = form.cubicyards.value * 14.7; //calculate yards var number = parsefloat(form.cubicyards.value); var finaloutput = number.tofixed(0); document.getelementbyid('item_qty').innerhtml = finaloutput form.weightpounds.value = (form.length.value / 3) * (form.w...