Forums

ASP

This topic is locked

Disable or remove a button ???

Posted 20 Jun 2002 10:39:46
1
has voted
20 Jun 2002 10:39:46 Marco de Zeeuw posted:
Hi,

I want to disable or remove a button when i clicked on it, this is my code now

<%
startrw = 0
endrw = HLooper2__index
numberColumns = 3
numrows = -1
while((numrows <> 0) AND (Not rsArticles.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
<tr align="center" valign="top">
<%
While ((startrw <= endrw) AND (Not rsArticles.EOF))
%>
<td width="150"> <form name="<%=(rsArticles.Fields.Item("Stem_ID".Value)%>" method="POST" action="<%=MM_editAction%>">
<img src="foto/<%=(rsArticles.Fields.Item("thumb".Value)%>" width="80" class="border_ron" onMouseOver="MM_swapImage('foto','','foto/<%=(rsArticles.Fields.Item("thumb".Value)%>',1)" onMouseOut="MM_swapImgRestore()"><span class="tekst"><font color="#FF0000">
<input name="Stem_ID" type="hidden" id="Stem_ID" value="<%=(rsArticles.Fields.Item("Stem_ID".Value)%>">
<input name="Cookie" type="hidden" id="Cookie" value="<%=Request.Cookies("session" %>">
</font></span>


<% Session("ID" = rsArticles.Fields.Item("Stem_ID".Value %>

<input name="<%= Session("ID" %>" type="hidden" id="<%= Session("ID" %>" value="<%= Session("ID" %>">
<input name="<%=(rsArticles.Fields.Item("Stem_ID".Value)%>" type="submit" id="test" onClick="'<%= Session ("top5" %>'" value="Nomineer">
<%
For Each Fld In rsArticles.Fields
Session(Fld.Name) = Fld.Value
Next
%>


<br>
<input type="hidden" name="MM_insert" value="form1">
</form>

</td>
<%
startrw = startrw + 1
rsArticles.MoveNext()
Wend
%>
</tr>
<%
numrows=numrows-1
Wend
%>


Can somebody help me, please.

Thanks already,

Marco

Replies

Replied 22 Jun 2002 21:32:53
22 Jun 2002 21:32:53 Marcellino Bommezijn replied:

Reply to this topic