Thanks Rick, you answered my question precisely as I stated in my goal. Unfortunately, I didn't state what I am really struggling with very clearly.
The value I want to pass is in a computed field within a repeat control. So I need to capture what that computed field turned out to be in an on click event.
I am also having some trouble getting my button to work within the repeat control. I have successfully built a link via SSJS when the page renders within the repeat but it's capturing information after the page renders and I get a user event that I cannot seem to get working.