<html> <head> <title>Test</title> </head> <body> <form action="Radio.php" method="post" name="form1"> Please select color<br> <input name="rdo1" type="radio" value="Blue">Blue<br> <input name="rdo2" type="radio" value="Red">Red<br> <input name="Submit" type="submit" value="Submit"> </form> </body> </html>
<html> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> body { background-color: #099; } body,td,th { color: #FFF; } </style> </head> <script language="javascript"> function fncSubmit() { if(document.form1.rdoA.checked == false ) { alert('Please Select Area '); return false; } document.form1.submit(); } </script> <body> <style type="text/css"> body,td,th { color: #000; } body { background-color: #06F; } </style> <form name=form1 form method="post" action="test1.php" target="HOLE" onSubmit="JavaScript:return fncSubmit();"> <font size=4 color="white"><b>Area</b></font> <br> <input name="rdoA" type="radio" id ="rdoA" value="red"><font color= "white">red</font><br> <input name="rdoA" type="radio" id ="rdoA" value="blue"><font color= "white">blue</font><br> <input type=submit size=50 value=" Search "> .......... </form> </body> </html>
<form name=form1 form method="post" action="test1.php" target="HOLE" onSubmit="JavaScript:return fncSubmit();">
<html> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> body { background-color: #099; } body,td,th { color: #FFF; } </style> </head> <script language="javascript"> function fncSubmit() { if(document.form1.rdoA.checked == false ) { alert('Please Select Area '); return false; } document.form1.submit(); } </script> <body> <style type="text/css"> body,td,th { color: #000; } body { background-color: #06F; } </style> <form name=form1 method="post" action="test1.php" target="HOLE" onSubmit="JavaScript:return fncSubmit();"> <font size=4 color="white"><b>Area</b></font> <br> <input name="rdoA" type="radio" id ="rdoA" value="red"><font color= "white">red</font><br> <input name="rdoA" type="radio" id ="rdoA" value="blue"><font color= "white">blue</font><br> <input type=submit size=50 value=" Search "> .......... </form> </body> </html>
<html> <head> <title>Test</title> </head> <body> <form action="Radio.php" method="post" name="form1"> Please select color<br> <input name="rdo1" type="radio" value="Blue" required>Blue<br> <input name="rdo2" type="radio" value="Red">Red<br> <input name="Submit" type="submit" value="Submit"> </form> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง