JSMITH242B
Programmer
Hi guys!!
I've seen the examples but I can't seem to get this to work.
So far, I've been able to retrieve the data and show it in a 'table' format on my ASP page.
When the user clicks a record, I want to be able to open up a new form showing more information for this user.
function tblclick(l_persref)
{
document.frmperson.persref.value = l_persref ;
document.frmperson.action="kidframe.asp?persref=" & _persref
document.frmperson.submit();
}
<form name="frmperson" action="kidframe.asp" target="_top" method="post">
<input type="hidden" name="persref" value="">
</form>
snippet of code used to create table (shows where the code is used for the onclick event - persref which is the key)
strHTML = strHTML & "<tr class=""TblDetail"" "
strHTML = strHTML & " onclick=""tblclick(" & objRs("persref")
strHTML = strHTML & ")""> "
strHTML = strHTML & crlf
Any pointers much appreciated.
TIA
I've seen the examples but I can't seem to get this to work.
So far, I've been able to retrieve the data and show it in a 'table' format on my ASP page.
When the user clicks a record, I want to be able to open up a new form showing more information for this user.
function tblclick(l_persref)
{
document.frmperson.persref.value = l_persref ;
document.frmperson.action="kidframe.asp?persref=" & _persref
document.frmperson.submit();
}
<form name="frmperson" action="kidframe.asp" target="_top" method="post">
<input type="hidden" name="persref" value="">
</form>
snippet of code used to create table (shows where the code is used for the onclick event - persref which is the key)
strHTML = strHTML & "<tr class=""TblDetail"" "
strHTML = strHTML & " onclick=""tblclick(" & objRs("persref")
strHTML = strHTML & ")""> "
strHTML = strHTML & crlf
Any pointers much appreciated.
TIA