<script type="text/javascript"> function checktopic2(id, txt, back) { if (document.getElementById(id).value!="" && document.getElementById(id).value=="other") { document.getElementById(txt).style.display=''; document.getElementById(id).style.display='none'; document.getElementById(back).style.display=''; //document.getElementById('positiontxt').style.backgroundColor='#ffffff'; //document.getElementById('positiontxt').focus(); } else { document.getElementById(txt).style.display='none'; document.getElementById(back).style.display='none'; //document.getElementById('positiontxt').disabled=true; //document.getElementById('positiontxt').style.backgroundColor='#cccccc'; } } function oncl(id, txt, back){ if(document.getElementById(back).onclick){ document.getElementById(txt).style.display='none'; document.getElementById(back).style.display='none'; document.getElementById(id).style.display=''; document.getElementById(id).value='0'; //}else{ //document.getElementById('position_id').style.display=''; } } </script> <input type="text" name="doc_departtxt" id="doc_departtxt" style="display:none"> img src="../images/Previous.png" id="backpo" onclick="oncl('doc_depart','doc_departtxt','backpo');" width="18" height="18" border="0" style="display:none;cursor:hand;" title="กลับไป" align="absmiddle"> <? $sql="select * from tb_typedoc"; $result=mysql_query($sql); ?> <select name="doc_depart" id="doc_depart" onchange="checktopic2('doc_depart','doc_departtxt','backpo');"> <? echo '<OPTION VALUE="0">-----เลือก-----</option>'; while($rs=mysql_fetch_array($result)){ echo '<option value="'.$rs[typedoc_name].'">'.$rs[typedoc_name].'</option>'; } ?> <OPTION VALUE="other">-----อื่น ๆ -----</option> <? echo "</select>"; ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง