|
![](/images/resource/spacer.gif) |
|
ถ้าจะดักบักตรงบริเวณ <a href> ต้องดักยังไงครับ ถึงจะดักได้ |
|
![](/images/resource/viewboard_01.gif?v=1001) |
|
|
![](/images/resource/viewboard_03.gif?v=1001) |
![](/images/resource/viewboard_04.gif?v=1001) |
|
น่าจะเช็ค IF ครับ
Code (ASP)
<% IF rec.fields("fi_name").value <> "" Then%>
<tr>
<td class="tab1"> เอกสารแนบ : </td>
<td class="tab2" valign="top"> <a id="af" href="uploads/<%=rec.fields("fi_name").value%> " target="_blank" onclick="javascript:return fncSubmit();"><img src="images/logo_dwn.gif" border="0px"> </a> </td>
</tr>
<% End IF%>
|
![](/images/resource/blockviewtopic_01.gif?v=1001) |
![](/images/resource/blockviewtopic_02.gif?v=1001) |
![](/images/resource/blockviewtopic_03.gif?v=1001) |
![](/images/resource/blockviewtopic_04.gif?v=1001) |
Date :
2012-01-25 09:41:55 |
By :
webmaster |
|
![](/images/resource/blockviewtopic_06.gif?v=1001) |
![](/images/resource/blockviewtopic_07.gif?v=1001) |
![](/images/resource/blockviewtopic_08.gif?v=1001) |
![](/images/resource/blockviewtopic_09.gif?v=1001) |
|
|
![](/images/resource/viewboard_06.gif?v=1001) |
![](/images/resource/viewboard_07.gif?v=1001) |
|
![](/images/resource/viewboard_08.jpg?v=1001) |
![](/images/resource/viewboard_09.gif?v=1001) |
![](/images/resource/viewboard_01.gif?v=1001) |
|
|
![](/images/resource/viewboard_03.gif?v=1001) |
![](/images/resource/viewboard_04.gif?v=1001) |
|
ได้แล้วครับขอบคุณครับ
แต่ทำไมตอนผมเขียนครั้งแรก ก็ใช้อีฟ แต่ไม่เห็นได้เลยอ่ะครับ
Code (ASP)
<tr>
<td class="tab1"> เอกสารแนบ : </td>
<%If rec.fields("fi_name").value="" then%>
<td class="tab2" valign="top"> ไม่มีเอกสาร </td>
<%Else%>
<td class="tab2" valign="top"> <a id="af" href="uploads/<%=rec.fields("fi_name").value%> " target="_blank" onclick="javascript:return fncSubmit();"><img src="images/logo_dwn.gif" border="0px"> </a> </td>
</tr>
<%End If%>
|
![](/images/resource/blockviewtopic_01.gif?v=1001) |
![](/images/resource/blockviewtopic_02.gif?v=1001) |
![](/images/resource/blockviewtopic_03.gif?v=1001) |
![](/images/resource/blockviewtopic_04.gif?v=1001) |
Date :
2012-01-25 10:09:03 |
By :
Clamore |
|
![](/images/resource/blockviewtopic_06.gif?v=1001) |
![](/images/resource/blockviewtopic_07.gif?v=1001) |
![](/images/resource/blockviewtopic_08.gif?v=1001) |
![](/images/resource/blockviewtopic_09.gif?v=1001) |
|
|
![](/images/resource/viewboard_06.gif?v=1001) |
![](/images/resource/viewboard_07.gif?v=1001) |
|
![](/images/resource/viewboard_08.jpg?v=1001) |
![](/images/resource/viewboard_09.gif?v=1001) |
|
|
|
![](/images/digitalocean-banner.jpg)
|
Load balance : Server 05
|