Jump to content

javascript textbox array sum


Irshad Siddique

Recommended Posts

Hello every body!

i created a database linked textbox array, now i want to sum these textboxs, please any body help me.

detail as under:-

 

jummenu(accounts)  (pick value from database)

now pick values from items table and make array

 

textbox(id)    textbox(itemname)    textbox(qty)    textbox(rate)    textbox(discount)      textbox(total)

 

textbox(grandtotal)

 

 

onchange event:

sum array for textbox(total) = textbox(qty) * textbox(rate) - textbox(discount)

textbox(grandtotal)  = textbox(total)  array

 

 

i am very thankfull to for those help me, thanks

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/247367-javascript-textbox-array-sum/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.