简体   繁体   中英

how to only allow japanese characters in textbox

I'm creating a website using PHP. is there anyway to only allow Japanese characters in the textbox?

I tried using IME-MODE: disabled in css but it is still accepting other language.

here is the code i used in html

<input type="text" style="-ms-image-mode: active; ime-mode: disabled;">

Thanks

I don't know about japanese language. But I am using Indian (Hindi / devnagari) Language On my webpages To fill up forms with javascript. more info is available on http://www.vishalon.net/IndicResources/PramukhLib.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM