通过jquery实现setInterval定时执行

通过jquery实现setInterval定时执行
& lt; !DOCTYPE html>
& lt; html>
& lt; head>
& lt; title> & lt;/title>
& lt;脚本src=" https://code.jquery.com/jquery-1.10.2.min.js "祝辞& lt;/script>
& lt;/head>
& lt; body>
& lt; script>
函数gx () {
$ . get (" http://localhost/study/project/6/customer/index.php?c=online& m=指数”);
}

setinterval (“gx ()”, 1000 * 2),
& lt;/script>
& lt;/body>
& lt;/html>

通过jquery实现setInterval定时执行