$(document).ready(function(){ refreshdiv(); }); functiion refrehdiv(){ Your code this setTimeout(refreshdiv, 10000); }
<!doctype html> <html class="no-js" lang="en"> <head> <title>Bee</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script language="javascript" type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script language="javascript"> $(document).ready(function(){ refreshdiv(); }); function refreshdiv() { $("#random").html( "test "+(Math.random()*10000000) ); setTimeout(refreshdiv, 1000); }; </script> </head> <body> <div id="random" /> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง