87,904
社区成员
发帖
与我相关
我的任务
分享
//一个签名的JS脚本
function SignData(){
var signopt=0;
try{
signopt=MSG_BASE64;//签名按照BASE64编码
var a=document.getElementById("txtToSign") ;//获取input中的值;
var tmp=window.confirm;
window.confirm=function(msg){
return true;
}
$("#Signature").text(CurCert.SignMessage(a.value,signopt));//SignMessage 为签名控件中的签名方法,并且会弹出一个确认的对对话框。
MessageBox.show=tmp;
}
catch(e){
alert(e.message);
}
}
控件为C++写的可以实现对话框的劫持吗?