We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find method cannot find tag that has additional classes.
find
For example, I want to find all tags that have 'services' class:
<div class='services'> or <div class='services last-item'> or <div class='services active'>
<div class='services'>
<div class='services last-item'>
<div class='services active'>
But, If I run:
$html->find('div[class=services]');
I will only get one result:
The text was updated successfully, but these errors were encountered:
[+]: add one more test
5b1854e
-> sunra/php-simple-html-dom-parser#80
You need to use .services or div[class~=services]: voku/simple_html_dom@5b1854e
.services
div[class~=services]
Sorry, something went wrong.
No branches or pull requests
find
method cannot find tag that has additional classes.For example, I want to find all tags that have 'services' class:
<div class='services'>
or<div class='services last-item'>
or<div class='services active'>
But, If I run:
I will only get one result:
The text was updated successfully, but these errors were encountered: