| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <html>
- <head>
- <title>写KEY</title>
- <meta http-equiv="content-type" content="text/html; charset=gb2312">
- <style type="text/css">
- table {width ="800px";
- font-size: 12px;
- background-color: #F1F5F6;
- }
- .button {
- border: 1px outset #a5b6d2;
- padding: 5px 2px;
- text-decoration: none;
- text-align: center;
- vertical-align: middle;
- color: #343333;
- cursor: pointer;
- background-color: #CAEAFF;
- }
- </style>
- <script language="JavaScript">
- var ntkologinobj;
- function initLoginOcx() {
- ntkologinobj = document.all("ntkoekeyloginocx");
- if (!ntkologinobj) {
- alert("EKEY登录控件初始化失败!");
- }
- }
- function writeLoginInfoToEkey() {
- try {
- ntkologinobj.Username = document.all("EkeyUsername").value;
- ntkologinobj.Password = document.all("EkeyPassword").value;
- ntkologinobj.SaveToEkey();
- } catch (e) {
- alert("写入EKEY错误:" + e);
- }
- }
- </script>
- </head>
- <body bgcolor="#ffffff" onload="initLoginOcx()">
- <center>
- <script src="ntkoGenEkeyLogOcxObj.js"></script>
- <BR>
- <hr width=60%>
- <h3>写入用户名和口令到EKEY</h3>
- 输入要写入EKEY的用户名:<INPUT id="EkeyUsername" VALUE="" maxlength=50 /><br>
- 输入要写入EKEY的口 令:<INPUT id="EkeyPassword" VALUE="" TYPE=password maxlength=32><br>
- <br>
- <button class="button" onclick="writeLoginInfoToEkey()">写入EKEY</button>
- <br>
- </center>
- </body>
- </html>
|