![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
![ExpandedBlockStart.gif](https://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif)
<
input
onfocus
=" this.style.imeMode='active' "
/>
<%
--
active 代表输入法为中文
--
%>
< input onfocus =" this.style.imeMode='inactive' " /> <% -- inactive 代表输入法为英文 -- %>
< input onfocus =" this.style.imeMode='auto' " /> <% -- auto 代表打开输入法 (默认) -- %>
< input onfocus =" this.style.imeMode='disabled' " /> <% -- disable 代表关闭输入法 -- %>
< input onfocus =" this.style.imeMode='inactive' " /> <% -- inactive 代表输入法为英文 -- %>
< input onfocus =" this.style.imeMode='auto' " /> <% -- auto 代表打开输入法 (默认) -- %>
< input onfocus =" this.style.imeMode='disabled' " /> <% -- disable 代表关闭输入法 -- %>