Example:
var sell = document.getElementById("test").cells[0]; // здесь нужно получить и изменить содержимое тега b <table> <tr id="test"><td><b>text</b><div></div></td></tr> </table> How can I get and change the contents of the nested b element obtained through a variable?
sell.querySelector('b').innerHTML = '...';- Artem Gorlachev