jQuery心跳包插件 jHeartbeat
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://plugins.jquery.com/project/Heartbeat
软件介绍
jHeartbeat 是一个jQuery 的插件,用来定时执行某项任务,例如定时向服务器发送请求;定时更新页面元素等等,特别适合用在聊天室开发上。
使用方法:
<script type=”text/javascript” src=”js/jquery.js”></script>
<script type=”text/javascript” src=js/jheartbeat.js”></script>
<script type=”text/javascript”>
$(document).ready(function(){
$.jheartbeat.set({
url: “data.php”, // The URL that jHeartbeat will retrieve
delay: 1500, // How often jHeartbeat should retrieve the URL
div_id: “test_div” // Where the data will be appended.
, function (){
// Callback Function
});
});
});
</script>
Powerful
Patty McCord / Missionday / 2018-1-25
Named by The Washington Post as one of the 11 Leadership Books to Read in 2018 When it comes to recruiting, motivating, and creating great teams, Patty McCord says most companies have it all wrong. Mc......一起来看看 《Powerful》 这本书的介绍吧!
