zoukankan
html css js c++ java
[原创]如何用Javascript控制textbox的输入法
active代表输入法为中文
inactive代表输入法为英文
auto代表打开输入法
disable代表关闭输入法
active
inactive
auto
disable
<
div
style
="BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; Z-INDEX: 103; LEFT: 304px; BORDER-LEFT: 1px dotted; WIDTH: 304px; BORDER-BOTTOM: 1px dotted; POSITION: absolute; TOP: 306px; HEIGHT: 160px; BACKGROUND-COLOR: ghostwhite"
ms_positioning
="GridLayout"
>
<
input
id
=act
style
="Z-INDEX: 101; LEFT: 24px; WIDTH: 96px; POSITION: absolute; TOP: 40px; HEIGHT: 22px"
onclick
="this.style.imeMode='active'"
size
=10
height
="107692336"
>
<
input
id
=inact
style
="Z-INDEX: 102; LEFT: 160px; WIDTH: 96px; POSITION: absolute; TOP: 40px; HEIGHT: 22px"
onclick
="this.style.imeMode='inactive'"
size
=10
name
=Text1
height
="36424328"
>
<
div
style
="DISPLAY: inline; Z-INDEX: 103; LEFT: 24px; WIDTH: 70px; POSITION: absolute; TOP: 16px; HEIGHT: 15px"
ms_positioning
="FlowLayout"
>
<
p
>
active
</
p
>
</
div
>
<
div
style
="DISPLAY: inline; Z-INDEX: 104; LEFT: 160px; WIDTH: 70px; POSITION: absolute; TOP: 16px; HEIGHT: 15px"
ms_positioning
="FlowLayout"
>
<
p
>
inactive
</
p
>
</
div
>
<
input
id
=auto1
style
="Z-INDEX: 105; LEFT: 24px; WIDTH: 96px; POSITION: absolute; TOP: 112px; HEIGHT: 22px"
onclick
="this.style.imeMode='auto'"
size
=10
name
=Text1
height
="107692720"
>
<
input
id
=disab1
style
="Z-INDEX: 106; LEFT: 160px; WIDTH: 96px; POSITION: absolute; TOP: 112px; HEIGHT: 22px"
onclick
="this.style.imeMode='disabled'"
size
=10
name
=Text2
height
="36425352"
>
<
div
style
="DISPLAY: inline; Z-INDEX: 107; LEFT: 24px; WIDTH: 70px; POSITION: absolute; TOP: 88px; HEIGHT: 15px"
ms_positioning
="FlowLayout"
>
<
p
>
auto
</
p
>
</
div
>
<
div
style
="DISPLAY: inline; Z-INDEX: 108; LEFT: 160px; WIDTH: 70px; POSITION: absolute; TOP: 88px; HEIGHT: 15px"
ms_positioning
="FlowLayout"
>
<
p
>
disable
</
p
>
</
div
>
</
div
>
查看全文
相关阅读:
黑马程序员_java基础笔记(13)...类加载器和代理
nyoj-411-Friends number
nyoj-38-布线问题
nyoj-233-Sort it
nyoj-115-城市平乱
nyoj-608-畅通工程
nyoj-36-最长公共子序列
nyoj-150-Train Problem I
nyoj-494-Dancing With the Googlers
nyoj-214-单调递增子序列(二)
原文地址:https://www.cnblogs.com/goody9807/p/186620.html
最新文章
转 Android开发笔记(成长轨迹)
大数据量下的SQL Server数据库自身优化
Windows7安装SQLServer 2008图解
CSS小代码汇总整理
当Table中td内容为空时,让它显示边框的办法
windows 7系统下安装SQL Server 2005图文教程
分区时"磁盘上没有足够的空间完成此操作"的解决方法
MyEclipse个性设置
关闭myeclipse derby服务
在Struts2中ognl.MethodFailedExceptiond异常的解决办法
热门文章
Java 集合列表排序
入学测试
基础测试
XML与HTML区别
黑马程序员_java基础笔记(15)...银行业务调度系统_编码思路及代码
黑马程序员_java基础笔记(14)...交通灯管理系统_编码思路及代码
黑马程序员必读文档
java 报错英文
Java基础常见英语词汇(共70个)
Flyweight模式_Java中23种设计模式
Copyright © 2011-2022 走看看