Hello, I have a vbscript function which will get a value from ActiveX control IntegriSign1 as shown in the code below.
I have a ASP.net Texbox and ASP.net Button in my asp.net page as show in the code below.
From my GetSignData() function How can I populate txtIntegri1 with SignData Value
Thanks
<script type="text/vbscript" >
sub GetSignData()
SignData=window.document.IntegriSign1.GetSignData()
'window.document.frmIntegriSign.txthashdata.value
set t1=window.document.getElementById("<%=txtIntegri1.clientID%>")
If tl<> null Then
t1.value=SignData
else
msgbox signData
End If
end sub
</script>
<asp:TextBox ID="txtIntegri1" runat="server" ></asp:TextBox>
<input type="button" id="btnAccept" name="btnAccept" runat="server" value="Accept " onclick="GetSignData();" />
I am getting an error Object Required txtIntegri