屌丝技巧------------刷新页面某个DIV
<div id="altContent"> 要刷新的区域000000 </div> <input type="button" onclick="refsher()" value="刷新DIV" /> <script type="text/javascript"> function refsher() { document.getElementById("altContent").innerHTML = document.getElementById("altContent").innerHTML; } </script>
时间: 2024-10-12 13:42:17