Hi,
I am calling a list of articles from a sql server database and putting them in a table. I have then linked each of the articles to allow them to be downloaded. What I need to figure out is how to also call a sub procedure when the user clicks on the link. My client would like to keep track of which articles are being downloaded by whom. The sub procedure sends this information to the database. I have tried using onclick but nothing happens. Thanks for your help
So far my code looks like this:
while ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td align="default" width="61%" height="24">
<a href = "<%=(article.Fields.Item("filename".Value)%>">
<%=(article.Fields.Item("Title".Value)%> </a>
</td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
I am calling a list of articles from a sql server database and putting them in a table. I have then linked each of the articles to allow them to be downloaded. What I need to figure out is how to also call a sub procedure when the user clicks on the link. My client would like to keep track of which articles are being downloaded by whom. The sub procedure sends this information to the database. I have tried using onclick but nothing happens. Thanks for your help
So far my code looks like this:
while ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td align="default" width="61%" height="24">
<a href = "<%=(article.Fields.Item("filename".Value)%>">
<%=(article.Fields.Item("Title".Value)%> </a>
</td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>