Subin Thomas

Subin Thomas

  • 427
  • 4.4k
  • 37.5k

Javascript getelementby tagname problem!

Oct 3 2019 5:47 AM
im doing a clientside gridview calculation
 
in javascripti have used 
 
  1. var gv = document.getElementById("<%= GridView1.ClientID %>");  
  2.            var tb = gv.getElementsByTagName("input");  
  3.            var lb = gv.getElementsByTagName("span");  
and in the gridview i have a textbox, the calculation goes perfect but when i add select all checkbox the calculation comes right but total gets populated in alternate column.
 
when i remove the select all checkboxs it words fine but if i add the checkbox the total  gets populated in alternate column.
 
 

Answers (1)