Home >php教程 >php手册 >DIV 局部刷新

DIV 局部刷新

WBOY
WBOYOriginal
2016-06-07 11:35:181281browse

实现div的局部刷新,可以设置刷新时间
<br>     <meta> <br> <br> <div> <br>     1111111111111111111<br>     1111111111111111111<br>     1111111111111111111<br> </div> <br> <div> <br>      <!--不刷新这边的内容--><br>      22222222222222222222<br> </div> <br> <script></script><br> <script><br /> $(function(){<br /> setInterval(function () { $(".refresh").load(location.href + " .refresh"); }, 5000);<br /> })<br /> </script>

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
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
Previous article:dfgdgNext article:thinkphp 分页带有省略号实现方式