i have two id's that are the same from two different table.
var newtext = document.getElementById(number).innerHTML;
this code is grabbing the wrong id. the id is a counter/variable in a loop so it changes, so i can't do getElementByName.. how do i get around this?