HTML:
<div class="something" data-a="abc">ddsf</d>
PHP:
foreach ($dom->find('.something[data-rel]') as $this) {
var_dump($this->attr());
}
I tried this but error. Couldn't find any info on its documentation. I want to get the data-a
's value which is abc.