I usually work in php and was told I could not add cells to total automatically.
I need help with javascript as I now nothing. I hope this makes sense!
I want to tally up the numbers inputted in each cell for the specific column e.g.
CODE
<input name="md1" type="text" id="md1" size="10" />
and
<input name="md2" type="text" id="md1" size="10" />
=<input name="md_total" type="text" id="md_total" size="10" value="<?php
$md1=md1;
$md2=md2;
$md_total=($md1+$md2);
echo $md_total;
?>"/>
How do I do it so it automatically adds without having to use a submit button??
I need help with javascript as I now nothing. I hope this makes sense!
I want to tally up the numbers inputted in each cell for the specific column e.g.
CODE
<input name="md1" type="text" id="md1" size="10" />
and
<input name="md2" type="text" id="md1" size="10" />
=<input name="md_total" type="text" id="md_total" size="10" value="<?php
$md1=md1;
$md2=md2;
$md_total=($md1+$md2);
echo $md_total;
?>"/>
How do I do it so it automatically adds without having to use a submit button??