0
Witch way i can iterate this array of objects??? Its possible?
Create menu https://code.sololearn.com/WqMc1R8gLGY2/?ref=app
3 ответов
0
Olka Berkovich
First thing there is difference between Witch and Which. So please correct your question.
2nd thing there are 2 table so you can't do table.appendChild(tr); because of document.getElementsByTag("table");
You have to do it like table[0]. appendChild (tr) and table[1]. appendChild (tr).
To avoid this problem create dynamic table and append data like I did here
https://code.sololearn.com/WukyJrQnri2e/?ref=app
+ 1
Thank you very much!
0
https://code.sololearn.com/WwUIf33W435j/?ref=app
Here i try decide this, its work but wrong, if you can help me