인터넷 익스플로러는 placeholder를 지원하지 않습니다.
그래서 value와 onfocus=this.value='';로 그 대신 사용하고 있는데요.
https://stackoverflow.com/questions/25162665/jquery-detect-the-click-outside-of-input
https://stackoverflow.com/questions/29155179/detecting-click-outside-a-text-field/29155233
input의 외부를 클릭했을 때 value를 다시 채워넣어주면 placeholder처럼 쓸 수 있습니다.
외부 placeholder를 사용할 수도 있습니다.
https://webclub.tistory.com/348
'노력 > 회사' 카테고리의 다른 글
깃 여러 커밋을 체리픽 하는 방법 (0) | 2020.06.10 |
---|---|
이미지 특정 영역에 링크 걸기 (오늘 하루동안 보지 않기) (0) | 2020.06.10 |
깃 작업 되돌리기 (0) | 2020.06.09 |
Spring-boot-starter 프로젝트에 유효성 검사 (0) | 2020.06.08 |
깃 일부 변경 사항만 master에 적용하기 (0) | 2020.06.08 |