at last in the input field how can i get the sum of a1+a2+a3+a4 in one text field and w1+w2+w3+w4 in one text field and x1+x2+x3+x4 in another so on..?
you have similar code like this please send us it may usefull to me..?
you have similar code like this please send us it may usefull to me..?
Code:
<body>
<TABLE CELLPADDING=0 CELLSPACING=0>
<h1> <b> Retail Profit</b> </h1>
<TD WIDTH=150></TD><TD WIDTH=50><center><b>NO.OF PRODUCTS</b></TD><TD WIDTH=100><center><b>MRP</b></TD><TD WIDTH=20><center><b>DP</b></TD><TD WIDTH=40><center><b>PV</b></TD><TD WIDTH=40><center><b>RP</b></TD>
</TABLE>
</TD></TR>
<TABLE BORDER=1 CELLSPACING=0>
<TR><TD WIDTH=100>BIOS LIFE SLIM<TD WIDTH=100><form
oninput="w1.value=parseInt(a1.value)*parseInt(2500);x1.value=parseInt(a1.value)*parseInt(1900);y1.value=parseInt(a1.value)*parseInt(25);z1.value=parseInt(w1.value)-parseInt(x1.value)">
<table style="text-align: left; width: 100px;" border="1"
cellpadding="2" cellspacing="2">
<td><input name="a1" value="00" type="number" ></td>
<TD WIDTH=400><td><output name="w1" for="a1 b1"></td><TD WIDTH=400>
<td><output name="x1" for="a1 b1"></td>
<TD WIDTH=400><td><output name="y1" for="a1 b1"></td>
<TD WIDTH=400><td><output name="z1" for="w1-x1"></td>
</TR>
</table>
</TABLE>
</form>
</br>
<TABLE BORDER=1 CELLSPACING=0>
<TR><TD WIDTH=100>LEAN COMPLETE<TD WIDTH=100><form
oninput="w2.value=parseInt(a2.value)*parseInt(1990);x2.value=parseInt(a2.value)*parseInt(1550);y2.value=parseInt(a2.value)*parseInt(20);z2.value=parseInt(w2.value)-parseInt(x2.value)">
<table style="text-align: left; width: 100px;" border="1"
cellpadding="2" cellspacing="2">
<td><input name="a2" value="00" type="number"></td>
<TD WIDTH=200><td><output name="w2" for="a2 b2"></td><TD WIDTH=200>
<td><output name="x2" for="a2 b2"></td>
<TD WIDTH=200><td><output name="y2" for="a2 b2"></td>
<TD WIDTH=200><td><output name="z2" for="w2-x2"></td>
</TR>
</table>
</TABLE>
</form>
</br>
<TABLE BORDER=1 CELLSPACING=0>
<TR><TD WIDTH=100>BIOS LIFE D<TD WIDTH=100><form
oninput="w3.value=parseInt(a3.value)*parseInt(1800);x3.value=parseInt(a3.value)*parseInt(1300);y3.value=parseInt(a3.value)*parseInt(20);z3.value=parseInt(w3.value)-parseInt(x3.value)">
<table style="text-align: left; width: 100px;" border="1"
cellpadding="2" cellspacing="2">
<td><input name="a3" value="00" type="number"></td>
<TD WIDTH=200><td><output name="w3" for="a3 b3"></td><TD WIDTH=200>
<td><output name="x3" for="a3 b3"></td>
<TD WIDTH=200><td><output name="y3" for="a3 b3"></td>
<TD WIDTH=200><td><output name="z3" for="w3-x3"></td>
</TR>
</table>
</TABLE>
</form>
</br>
<TABLE BORDER=1 CELLSPACING=0>
<TR><TD WIDTH=100>SUPER CHLORO</br>PHYLL<TD WIDTH=100><form
oninput="w4.value=parseInt(a4.value)*parseInt(850);x4.value=parseInt(a4.value)*parseInt(650);y4.value=parseInt(a4.value)*parseInt(10);z4.value=parseInt(w4.value)-parseInt(x4.value)">
<table style="text-align: left; width: 100px;" border="1"
cellpadding="2" cellspacing="2">
<td><input name="a4" value="00" type="number"></td>
<TD WIDTH=200><td><output name="w4" for="a4 b4"></td><TD WIDTH=200>
<td><output name="x4" for="a4 b4"></td>
<TD WIDTH=200><td><output name="y4" for="a4 b4"></td>
<TD WIDTH=200><td><output name="z4" for="w4-x4"></td>
</TR>
</table>
</TABLE>
</form>
</br>
<TABLE BORDER=1 CELLSPACING=0>
<TR><TD WIDTH=100>MATCHA<TD WIDTH=100><form
oninput="w5.value=parseInt(a5.value)*parseInt(990);x5.value=parseInt(a5.value)*parseInt(750);y5.value=parseInt(a5.value)*parseInt(10);z5.value=parseInt(w5.value)-parseInt(x5.value)">
<table style="text-align: left; width: 100px;" border="1"
cellpadding="2" cellspacing="2">
<td><input name="a5" value="00" type="number"></td>
<TD WIDTH=200><td><output name="w5" for="a5 b5"></td><TD WIDTH=200>
<td><output name="x5" for="a5 b5"></td>
<TD WIDTH=200><td><output name="y5" for="a5 b5"></td>
<TD WIDTH=200><td><output name="z5" for="w5-x5"></td>
</TR>
</table>
</TABLE>
</form>