I want to select text from html below, I want to select only this text
Adobe Illustrator, Adobe Photoshop
<div class="col-xs-12">
<h4 class="dl-title">Professional Skills</h4>
<div class="divider"></div>
Adobe Illustrator, Adobe Photoshop
here is my code
$('.col-xs-12:not(.dl-title)').eq(15).text().trim()
I use eq(15) because in the website that I going to get data from has alot of .col-xs-12.
Please help me! Thanks in advance
3
Answers
Please Use This:
When you need to add any class or .eq(15) then add
Try using
$.parseHTML()
,.html()
,Array.prototype.pop()
,.textContent
Try this