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
>
查看全文
相关阅读:
parse_str() 函数把查询字符串解析到变量中。
ThinkPHP函数详解:L方法
ThinkPHP函数详解:F方法
PHP defined() 函数
Ajax beforeSend和complete 方法
mdb文件怎么打开
网盘资料
win7下IIS的安装和配置
perl5 第十一章 文件系统
perl5 第十章 格式化输出
原文地址:https://www.cnblogs.com/goody9807/p/186620.html
最新文章
C 语言项目中.h文件和.c文件的关系
C与C++之间相互调用
extern 用法,全局变量与头文件(重复定义)
runtime
C++之编译器与链接器工作原理
轻松学习之三——IMP指针的作用
Method
Type Encodings
IMP self _cmd
self & _cmd
热门文章
接口文档设计指南
分离编译模式简介
金融类openapi
Java中的Import语句如何理解?
重温Java的类加载机制
C++编译器与链接器工作原理
文体
C++ 预编译头文件
window.top.location.href 和 window.location.href 的区别
PHP条件语句if的使用
Copyright © 2011-2022 走看看