garretus / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Attribute filter seems to not work #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. having DOM <dom><myElement class="firstClass"/></dom>
2. $myDOM->find('[class^="first"]');
3.

What is the expected output? What do you see instead?
Should get the myElement element, but don't find anything.

What version of the product are you using? On what operating system?
r248

Please provide any additional information below.

Original issue reported on code.google.com by nicolas....@gmail.com on 21 Oct 2008 at 12:11

GoogleCodeExporter commented 8 years ago
[class*="first"] doesn't work too :/.

Original comment by nicolas....@gmail.com on 21 Oct 2008 at 12:24

GoogleCodeExporter commented 8 years ago
Using quotes (" and ') caused the problem. Fixed in r249.

Original comment by tobiasz....@gmail.com on 21 Oct 2008 at 12:57