Is there some measure assigned number to dyadic array from table? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there some measure assigned number to dyadic array from table?

I have a table in html , I want to use the number in a dyadic array in js . Do I have to use getElementById() so many times? How can I make a function to accomplish the assignment. postscript:I’m not sure that you can understand what I mean for my mother language is not English. I already tried to make sense .

20th Apr 2018, 1:22 PM
liueach
liueach - avatar
1 Answer
+ 3
is this code helpful , btw you can traverse over table elements in many other ways as well // returns the array of all td var table = document.getElementsByTagName("td"); which I use in loop https://code.sololearn.com/WpM5tspd6uL1/?ref=app
20th Apr 2018, 1:50 PM
Morpheus
Morpheus - avatar