<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <title>Untitled Document</title> <script type="text/javascript" > $(document).ready(function(){ $("#button").click(function(){ $.ajax({ type: "POST", url: "Ajaxgetdata.php", data: { Find: $("#Find").val(),Round: $("#Round").val() } }).done(function( msg ) { $("#Show").html(msg); }); }); }); </script> </head> <body> <form action="" method="post"> <p>ข้อความ <input name="Find" id="Find" type="text" /> </p> <p>จำนวนรอบ <label for="Round"></label> <input type="text" name="Round" id="Round" /> </p> <p> <input type="button" name="button" id="button" value="Button" /> </p> </form> <span id="Show"></span> </body> </html>
<!DOCTYPE html> <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <title></title> </head> <body> <table width="265" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="265" align="center">ข้อมูลที่ป้อนคือ </td> </tr> <? $msg = $_POST['Find']; $Round =$_POST['Round']; for($i=1;$i<=$Round;$i++){ ?> <tr> <td width="265" align="center"><? echo $msg;?></td> </tr> <? }?> </table> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง