views:

52

answers:

1

Hi . I have a web application. It is running on struts framework but i dnt think it's relevant to my question. :)

I want that when I click or put my cursor on my textbox I can directly type japanese katakana, hiragana and kanji characters.

Windows has this IME which enables you to type these characters by enabling japanese or any language by pressing alt + ~ or depending on your setting. What IO want is I dnt have to do this. IT should be automatic.

Is this possible with javascript or any technology? PLease help

+1  A: 

Try

ime-mode: active 

in css style, basically you could set auto, turn on, turn off by default for IME

More info regarding ime-mode on MSDN & MDC

S.Mark
tnx. i'll check this out. It would be great too if we can enforce only nihongo typing.
cedric
I don't think an html element could force the host computer IME though, I think its just an indicator to client computer's IME to turn on / off, IMHO.
S.Mark
This will do anyway... Tnx. But I am trying find a way to deactivate ime back when i leave this textfield so that I can type romaji directly all other fields without having to deactivate it manually. BUt im posting this prob on a different thread though.. ;)
cedric