<html> <head> <title>Disabled ตารางการบันทึกข้อมูล</title> </head> <body> <form action="page.cgi" method="post" name="form1"> <input name="txt1" type="text" id="txt1" value=""> <input name="rdo1" type="radio" value="Y" checked onClick="javaScript:if(this.checked){document.form1.txt1.disabled=false;}"> Enable <input name="rdo1" type="radio" value="N" onClick="javaScript:if(this.checked){document.form1.txt1.disabled=true;}"> Disabled<br> <input name="chk1" type="checkbox" id="chk1" value="Y" checked> Checkbox <input name="rdo2" type="radio" value="Y" checked onClick="javaScript:if(this.checked){document.form1.chk1.disabled=false;}"> Enable <input name="rdo2" type="radio" value="N" onClick="javaScript:if(this.checked){document.form1.chk1.disabled=true;}" > Disabled<br> <input name="btnSubmit" type="submit" value="Submit"> </form> <?php $top = .80; ?> <meter value= "<?php echo $top;?>" title="100 เปอร์เซ็น"></meter> <br /> </body> </html>
<html> <head> <title>number</title> <script type="text/javascript"> function ck_frm(){ var ck = document.getElementById('ckk'); if(ck.checked == true){ document.getElementById('frm_txt').style.display = ""; }else{ document.getElementById('frm_txt').style.display = "none"; } } </script> </head> <body> <input type="checkbox" name="ckk" id="ckk" onClick="ck_frm();" />Form<br/> <div id="frm_txt" style="display:none;"> <form name="frmAdmin" id="frmAdmin" action="pud_number.php" method="post"> <input type="text" name="txtnum" id="txtnum" value="" /><br/> <input type="submit" name="btn" value="number" /> </form> </div> </body> </html>
<div><input type="checkbox"><input type="text" onkeypress="$(this).prev().prop('checked',true)" ></div>
<html> <head> <title></title> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <script type="text/javascript"> function prt_have(){ if($('#printer_use').val() > 0 ){ $('#printer_have').prop('checked',true); } else { $('#printer_have').prop('checked',false); } } </script> </head> <body> <input type="checkbox" id="printer_have"> Printer <input type="text" id="printer_use" value='0' onkeyup="prt_have();"> เครื่อง </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง