Home > Web Front-end > JS Tutorial > body text

招聘网站基于jQuery实现自动刷新简历_jquery

WBOY
Release: 2016-05-16 15:59:59
Original
1156 people have browsed it

将代码中res_id_encode参数的值,如5830549229E3096684665改成自己猎聘账户相关的ID即可。如何查看自己的ID,只要打开F12,点一下猎聘网个人中心的刷新简历,在network里面就能看到类似代码中的get请求了,把该请求的参数复制出来即可,替换res_id_encode的值后,将代码复制到console里运行。

function refreshResume() {
  $.post('/resume/refreshresume/','res_id_encode=5830549229E3096684665',function(data,status){
    console.log(data);
  });
}
var timer = setInterval(refreshResume,300000);//五分钟刷新一次
Copy after login

以上所述就是本文的全部内容了,希望大家能够喜欢。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!