开发者

java check user digital signature verified by javascript

How can I chec开发者_JS百科k if user click yes (trust my application) for my signed Application from javascript ?


var check = confirm("Do you trust this app?");
if (check) { //user clicked ok
    //do whatever
}

If your application is on a website, you could place the <applet> tag within a <div id="app" style="none">. Then you could replace //do whatever with this:

document.body.getElementById("app").style = 'block';
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜