Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > สอบถามเงื่อนไขการแสดงของปุุ่มที่เราไม่ต้องการให้โชว์ ถ้าไม่เกิดเงื่อนไขเกิดขึ้น



 

สอบถามเงื่อนไขการแสดงของปุุ่มที่เราไม่ต้องการให้โชว์ ถ้าไม่เกิดเงื่อนไขเกิดขึ้น

 



Topic : 110282



โพสกระทู้ ( 251 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์




Code (PHP)
            <form name="frmInsFIX1" method="post" action="process_nccc.php?type=WIP_FIX&job_no=<?=$_GET[job_no];?>&reqh_code=<?=$_GET[reqh_code];?>&MOD=<?=$_GET[MOD];?>" enctype="multipart/form-data">
            <table   cellpadding="1" border="0" align="center" class="HDD" >
                <tr>
                <td ><input type="checkbox" name="fix2_reproduce" value="Y" /></td>
                <td class="fontTopic1" align="left">Re-produce the order</td>
                <td class="fontTopic1" align="right">IPO#:</td>
                <td><input type="text" name="fix2_ipo_no" class="inputtext_FIX" /></td>
              </tr>
                <tr>
                <td ><input type="checkbox" name="fix2_repack" value="Y" /></td>
                <td class="fontTopic1"  align="left">Re-Packaging</td>
                <td class="fontTopic1" align="right">Shop order#:</td>
                <td><input type="text" name="fix2_shop_order" class="inputtext_FIX" /></td>
              </tr>
                <tr>
                <td class="fontTopic1" align="right">QTY:</td>
                <td><input type="text" name="fix2_qty" class="inputtext_FIX" /></td>
                <td class="fontTopic1" align="right">RTBS:</td>
                <td><input type="text" name="fix2_rtbs" class="inputtext_FIX" /></td>
              </tr>
             </table>
            <br />
    <table id="tbExp_FIX1" bgcolor="#333333" cellpadding="0" align="center" class="HDD" >
        <tr class="fontTitle" bgcolor="#FF8080" height="25">
        <td align="center"><font color="#FFFFFF" size="2" style="font-weight:bold">No.</font></td>
        <td align="center"><font color="#FFFFFF" size="2" style="font-weight:bold">Description</font></td>
        <td align="center"><font color="#FFFFFF" size="2" style="font-weight:bold">Responsible</font></td>
        <td align="center"><font color="#FFFFFF" size="2" style="font-weight:bold">Deadline</font></td>
        <td align="center"><font color="#FFFFFF" size="2" style="font-weight:bold">Upload file</font></td>
      </tr>
                <script language="javascript">
			function CreateNewRow_FIX1()
			{
				var intLine = parseInt(document.frmInsFIX1.hdnMaxLine_FIX1.value);
				intLine++;
					
				var theTable = document.all.tbExp_FIX1
				var newRow = theTable.insertRow(theTable.rows.length)
				newRow.id = newRow.uniqueID
				var item1 = 1
				var newCell
			
				//*** Line Media Type ***//
				newCell = newRow.insertCell(0)
				newCell.id = newCell.uniqueID
				newCell.setAttribute("className", "css-name");
				newCell.innerHTML = "<INPUT CLASS=\"inputtext_FIX\" TYPE=\"TEXT\" SIZE=\"5\" NAME=\"no[]"+intLine+"\" VALUE=\""+intLine+"\">"

				//*** Line Code ***//
				newCell = newRow.insertCell(1)
				newCell.id = newCell.uniqueID
				newCell.setAttribute("className", "css-name");
       			newCell.innerHTML = "<TEXTAREA CLASS=\"inputtext_FIX\" COLS=\"55\" ROWS=\"1\" NAME=\"fix1_desc[]"+intLine+"\"  ></textarea>"
		
						
				//*** Line Product Name ***//
				newCell = newRow.insertCell(2)
				newCell.id = newCell.uniqueID
				newCell.setAttribute("className", "css-name");
				newCell.innerHTML = "<INPUT CLASS=\"inputtext_FIX\" TYPE=\"TEXT\" SIZE=\"20\" NAME=\"fix1_responsible[]"+intLine+"\" >"			
				
				//*** Line Product No ***//
				newCell = newRow.insertCell(3)
				newCell.id = newCell.uniqueID
				newCell.setAttribute("className", "css-name");
				newCell.innerHTML = "<INPUT CLASS=\"inputtext_FIX\" TYPE=\"TEXT\" SIZE=\"20\" NAME=\"fix1_deadline_date[]"+intLine+"\" >"
				//*** Line Product No ***//
				newCell = newRow.insertCell(4)
				newCell.id = newCell.uniqueID
				newCell.setAttribute("className", "css-name");
				newCell.innerHTML = "<INPUT  TYPE=\"FILE\" SIZE=\"20\" NAME=\"fileUpload[]\" >"
							

				document.frmInsFIX1.hdnMaxLine_FIX1.value = intLine;
			}
			function RemoveRow_FIX1()
			{
				intLine = parseInt(document.frmInsFIX1.hdnMaxLine_FIX1.value);
				if(parseInt(intLine) > 0)
				{
						theTable = (document.all) ? document.all.tbExp_FIX1 : 
						document.getElementById("tbExp_FIX1")
						theTableBody = theTable.tBodies[0];
						theTableBody.deleteRow(intLine);
						intLine--;
						document.frmInsFIX1.hdnMaxLine_FIX1.value = intLine;
				}	
			}	
			</script>
        <table border="0" align="right">
        <tr>
            <td><input type="hidden" name="hdnMaxLine_FIX1" value="0">
            <input name="btnAdd" type="button" id="btnAdd"  value="Add Row" onClick="CreateNewRow_FIX1();">
            <input name="btnDel" type="button" id="btnDel" value="Del Row" onClick="RemoveRow_FIX1();"></td>
          </tr>
        </table>
<br /><br />
        <table align="center">
        <tr height="">
            <td align="center" colspan="4"><A href="javascript:document.frmInsFIX1.submit();"><img src="image/submit.gif" border=0 /></A></td>
          </tr>
      </table>
      </table>
          </form>




หหห


คำถามตามรูปเลยค่ะ



Tag : PHP, Ms SQL Server 2005







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2014-07-28 16:47:55 By : paphun View : 567 Reply : 1
 

 

No. 1



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

visibility hidden & visible


ตัวอย่างการซ่อนพวก element ครับ






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2014-07-28 22:09:36 By : mr.win
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : สอบถามเงื่อนไขการแสดงของปุุ่มที่เราไม่ต้องการให้โชว์ ถ้าไม่เกิดเงื่อนไขเกิดขึ้น
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 05
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่