如何在PHP中刷新div? [英] how to refresh div in php?
本文介绍了如何在PHP中刷新div?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
i vahe两个div标签
喜欢 -
< div class = tab_container >
< div id = tab1 style = overflow-x:hidden; overflow-y:scroll; height:260px > ;
< / div > 跨度>
< / div >
i想自动刷新div tab1。
plz帮助......
解决方案
你无法用php实现这一点,你将使用javascript来更新的内容。为选项卡的内容创建一个javascript数组,并用php填充该数组。
dear sir,
i vahe two div tags
like-
<div class="tab_container"> <div id="tab1" style="overflow-x:hidden;overflow-y: scroll; height:260px"> </div> </div>
i want to do automatic refresh of div tab1.
plz help......解决方案You can not achieve this with php, you will have use javascript to update the contents of the. Create a javascript array for the content of the tabs and fill that array with php.
这篇关于如何在PHP中刷新div?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文