Below is my coding with the javascript below i able to capture the information from smartcard and display all the information.
Now i plan to pass the value to the code behind and display it into the web site textbox but it fail.
Could you show me the way to do this ??
<object CLASSID="clsid:0E0D630B-9761-4129-B4BF-E5F4F3BC3C67" id="mykad">
</object>
</OBJECT>
<script language=javascript>
var obj=document.getElementById("mykad");
var listReader = new Array();
obj.command =0;
a= obj.myKad();
list = obj.strResult;
listReader = list.split(',');
obj.command = 1;
obj.StrParam = listReader[0];
a= obj.myKad();
if (a!=0)
document.write("Error: "+ a + "<br>");
else
document.write("Connect success.<br>");
obj.command = 3;
a= obj.myKad();
docum ...
Go to the complete details ...