Hey Gang….I am trying to pass a value in a querystring.
When a user clicks on a checkbox a function would be called. This function would send the user to the next page and pass the variable. Below is what I have:
[CODE]
function ClickMe()
{
location.href=”webpage3456.asp?FishId=” + event.srcElement.parentElement.pk + “&CustomerId=” + event.srcElement.parentElement.pk1
}
[CODE]
Response.Write(“<tr align=””center”” BGCOLOR=””473c8b”” onclick=ClickMe() pk1='” & CustomerId & “‘ & pk=” & RS(“FishId”) & ” style=cursor:hand onmouseout=HoverOff4() onmouseover=HoverOn4() class=DataInfo>” & vbCrlf)
When I try passing the variable using a checkbox it does not work.
The variable is being passedd as “UNDEFINED”.