Home > Backend Development > PHP Tutorial > 怎么获取通过ajax请求的html代码

怎么获取通过ajax请求的html代码

WBOY
Release: 2016-06-13 13:28:31
Original
846 people have browsed it

如何获取通过ajax请求的html代码
例如淘宝信誉的页面:http://rate.taobao.com/user-rate-8eea0e758eb438c5a0959dd643baf78d.htm
中的评价,见图中所标示的是通过ajax请求的;



------解决方案--------------------

JScript code
 url = "manage_action_class.php?"&ran="+Math.random();  //后端请求页面
#将这句改为你要访问的地址不就行了?
<br><font color="#e78608">------解决方案--------------------</font><br>
Copy after login
  • 最近一月


  • 他的数据不是在 rel 属性里吗?
    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template