Can't you just pass the record ID to the JS function, then append it to the
Code:
window.location="remove_pend.asp?id=idunnowhattodohere
in place of idunnowhattodohere?
You can pass pretty much anything to a function:
Code:
<a href="JavaScript:confirm_entry('<%recordId%> ')">Remove</a>
Then use it in your function like this:
Code:
function confirm_entry(recordId)
{
input_box=confirm("Click OK or Cancel to Continue");
if (input_box==true)
{
// Output when OK is clicked
alert ("Pending Certificate Canceled");
window.location="remove_pend.asp?id=recordId"
}
Is this what you mean?