Html & Script

[HTML] input 에서 ime-mode 한글/영문 제어

컨텐츠 정보

본문

<input type="text" name="" value="" style="ime-mode:disabled;">

[ime-made 의 옵션] 

 

auto : 한/영 변화이 자유로움.

<input type="text" name="" value="" style="ime-mode:auto;">

 

inactive : 영문기본, 한/영변환 자유로움.

<input type="text" name="" value="" style="ime-mode:inactive;">

 

disabled : 영문기본,한/영변환 안됨, 영문/숫자만 입력가능.

<input type="text" name="" value="" style="ime-mode:disabled;">

 

active : 한글 기본, 한/영변환 자유로움.

<input type="text" name="" value="" style="ime-mode:active;">

 

deactivated: 한글기본, 한/영 전환 가능

<input type="text" name="" value="" style="ime-mode:deactivated;">

 

javas-ript: obj.style.imeMode = "value";

관련자료

댓글 0
등록된 댓글이 없습니다.
Today's proverb
당신이 가야 할 길이 당신의 눈앞에 있거든 망설이지 말라. 당신이 가야 할 길이 분명하면, 기꺼이 확고한 의지로 그 길을 가라. 혹시 당신이 가야 할 길이 보이지 않는다면 멈추어 서서 가장 훌륭한 충고자들과 상의하라. 만일 당신이 가는 길에 어떤 장애물이 나타나면, 정의가 가리키는 길을 따라 당신이 갈 수 있는 곳까지 조심히 나아가라. (아우렐리우스)