jQuery心跳包插件 jHeartbeat

码农软件 · 软件分类 · jQuery定时器插件 · 2020-01-01 08:26:28

软件介绍

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>

本文地址:https://codercto.com/soft/d/22406.html

ANSI Common Lisp

ANSI Common Lisp

Paul Graham / Prentice Hall / 1995-11-12 / USD 116.40

For use as a core text supplement in any course covering common LISP such as Artificial Intelligence or Concepts of Programming Languages. Teaching students new and more powerful ways of thinking abo......一起来看看 《ANSI Common Lisp》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试