开发者

query the html taken from PHP's file_get_contents using jQuery

开发者 https://www.devze.com 2023-04-07 14:41 出处:网络
If I have $html = file_get_contents(\'http://www.some-url.com/index.php\'); how do I query 开发者_开发百科the html using jQuery?You will need to output the HTML onto the page then use jQuery to que

If I have

$html = file_get_contents('http://www.some-url.com/index.php');

how do I query 开发者_开发百科the html using jQuery?


You will need to output the HTML onto the page then use jQuery to query it once the page is loaded.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号