I'm trying to select all the divs in the following example whose innerHTML are equal to "Practice".

<div data="t"><p>Practice</p></div>
<div><p>Practice</p></div>
<div data="t"><span>Practice</span></div>

I know xpath can do this job. I'd just like to know whether queryselectorall can also do this job?

0

There are 0 answers