본문 바로가기
개발/JavaScript

input box 언어설정,

by GetLight 2010. 5. 6.
input 상자에 초기 언어설정
한글 : <input type="text" style="ime-mode:active"/>
영어 : <input type="text" style="ime-mode:inactive"/>
영어만 : <input type="text" style="ime-mode:disabled"/>
==================================
* 테이블 사이즈 고정
style="TABLE-LAYOUT:fixed;"

* 자동 줄바꿈
style="word-break:break-all;"

* 테이블 크기와 관계없이 늘어나게
nowrap

* 자동완성 기능 막기
 스크립트에서
object.autocomplete=Disabled
태그에서
<INPUT TYPE="password" autocomplete="off">

* 드래그, 셀렉트 막기
<script>
      document.onselectstart=new Function ("return false")
</script>