你 只能做到打开与关闭
INPUT TYPE = text STYLE = "ime-mode:active" >auto Default. IME is not affected. This is the same as not specifying the ime-mode attribute. 
active All characters are entered through the IME. Users can still deactivate the IME. 
inactive All characters are entered without IME. Users can still activate the IME. 
disabled IME is completely disabled. Users cannot activate the IME if the control has focus. 

解决方案 »

  1.   

    这样看来,是不能达到要求的,因为操作人员要输入字母时,首选的是切换输入法,不会去改现有输入法的状态。那只好想别外的途径,可否这样,让用户随便输入,提交的时候将特殊文本框的混合字串全部转为全角的,不知有没有这样的bean,或者文章...
    另外,哪位大侠能否指点我到哪里能找到关于全角半角编码的文章....
    不胜感激!
      

  2.   

    这样把
    当光标离开input时触发onblur()
    然后提交一个隐藏Frame给一个jsp,把输入的内容穿过去
    用这个jsp判断,弹出窗口具体判断请参考汉字编码,我很模糊了,高8位不是空就是全角,好象是。
      

  3.   

    我看编码的问题是回避不过了,哪里有现成的bean或相关的文章?谁知道请告诉我一下。