datagrid with sum of all textboxes in another textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi
iam looking for any javascript or vbscript
to add sum all the textboxes present in the datagrid.
and sum must come in another total textbox.
this should fire when the user enter the numeric value....
thsi should be @client Side

help needed

thanks
 
Directions:

Datagrid renders as a <table>. In javascript you can access the table object
corresponding to the grid. It has a collection of rows. Every row has a
collection of cells. You now what you put inside the cells. So loop through
the row collection, access the cells you need and make your total.

Eliyahu
 
hi,

how to the rowid, in vbscript
and textbox id in vbscript,

can u pls give me anyreferences...
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top