Похожие чаты

Hi, maybe I have stupid question, but JavaScript is not

my main programing language.
how can I check if the text in the <td>some text</> is correct

Something like this:

if(tabulkapredmetu[2].getElementsByTagName("td")[1] === "some text")
{
console.log("yeh");
}

Or how i can get the text from td element?

1 ответов

9 просмотров

.textContent

Похожие вопросы

Обсуждают сегодня

Карта сайта