ok maybe it can't see it because it's in a reapeater.

trying something like this:
Code:
GuardianRepeater.FindControl("hdntest").ClientID
which i expected to work, but I get an error saying object reference not set to an instance of an object. probablt the javascript is trying to get the value b4 the control is rendered