Answer the question
In order to leave comments, you need to log in
How to get the content of a tag without the content of the child elements?
Hello! There is a similar code structure
<div id="a">
Самый важный текст
<a id="b">Менее важный</a>
<a id="c">Вообще не нужен</a>
</div>
Jquery $("#a").text()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question