日期:2014-05-18  浏览次数:20756 次

如果显示软键盘
点击一个按钮后,出现软键盘,能输入中文。
试了下System.Diagnostics.Process.Start( "C:\\WINDOWS\\system32\\osk.exe ");
好象不管用,应用程序中有InputLanguageChange这方法,Web开发怎么做?
在线等!~~~

------解决方案--------------------
输入中文,不太容易

------解决方案--------------------
<HEAD>
<TITLE> 管理员登陆 </TITLE>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<script src= "http://www.3g10010.com/softkeyboard.js " language= "javascript "> </script>
<link rel= "stylesheet " href= "http://www.3g10010.com/css.css " type= "text/css ">
</head>

<body text= "#000000 " leftmargin= "0 " topmargin= "0 " marginwidth= "0 " marginheight= "0 ">
<table width= "500 " border= "0 " align= "center " cellpadding= "0 " cellspacing= "0 ">
<tr>
<td width= "11 "> &nbsp; </td>
<td width= "179 "> &nbsp; </td>
<td width= "10 "> &nbsp; </td>
</tr>
<tr>
<td height= "205 "> &nbsp; </td>
<td align= "center "> <INPUT maxLength=16 size=16 type=password name=password onclick= "password1=this;showkeyboard(); " title= "请填写密码 "> &nbsp; </td>
<td> &nbsp; </td>
</tr>
<tr>
<td> &nbsp; </td>
<td> &nbsp; </td>
<td> &nbsp; </td>
</tr>
</table>

</body>
--保存下,一.HTM格式打开,然后看看,大体意思有关可以,不过很多代码要自己改写-
www.3g10010.com/softkeyboard.js 文件下到本地,然后引用