DomQuery
DomQuery copied to clipboard
PHP library for easy 'jQuery like' DOM traversing and manipulation.
@see https://api.jquery.com/addBack/ Adjusted $prepend so addBack() adds to the beginning. Pull request: https://github.com/Rct567/DomQuery/pull/20
@see https://api.jquery.com/nextuntil/ @see https://api.jquery.com/prevUntil/ Pull request: https://github.com/Rct567/DomQuery/pull/18
im try select Class But Get Error My Code: ``` require '../../Phper/Slcquery/vendor/autoload.php'; use Rct567\DomQuery\DomQuery; $resp = " Hello World "; $dom = new DomQuery("".$resp.""); $links = $dom->find('.Test'); echo $links->html(); ```...
I've been using DomQuery for some time, and recently (I'm not sure how recent) this exception reared its head. It looks like it has to do with CSSS selector to...
```php $html = new DomQuery(''); $div = DomQuery::create('')->appendTo($html); DomQuery::create('')->appendTo($div); echo $html; ``` Expected: ```html ``` Got: ```html ``` JS function works as expected: ```js var html = $(''); var div...
replaceWith work with DomNode but not work with DomQuery element
Not the selector used to create a query object. I mean like chrome or firefox devtools allow to right-click an element and get the selector.
problem: ``` $this->dq->find('[data-id="e1eaziw"]')->eq(1); ``` works fine, returns 2 instance of that data-id attribute ``` $this->dq->find('[data-id="e1eaziw "]')->eq(1); ``` will return first instance. looks like this bug is generally around...