skip to Main Content

QueryPath outerHTML (jQuery for php)

I am using gravitypdf/querypath (from composer) I am trying to achieve this function from jQuery/JS in PHP QueryPath: jQuery("html")[0].outerHTML; I have tried the following: echo (string) qp($html, $filter)->parents(":root"); // can't convert document to string echo qp($html, $filter)->parents(":root")->html(); // returns inner…

VIEW QUESTION
Back To Top
Search