Answer the question
In order to leave comments, you need to log in
How to parse html to js?
There is an html like this:
<ul id="result" class="clearfix">
<li><a data-suffix-len="4" >слово</a></li>
<li><a data-suffix-len="2" >слово2</a></li>
<li><a data-suffix-len="3" >слово3</a></li>
<li><a data-suffix-len="2" >слово4</a></li>
<li><a data-suffix-len="2" >слово5</a></li>
</ul>
Answer the question
In order to leave comments, you need to log in
Why are there any libs, this is done on regular js using selectors.
https://www.w3schools.com/jsref/met_document_query...
https://www.w3schools.com/jsref/met_document_query...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question