인터넷 익스플로러는 placeholder를 지원하지 않습니다.
그래서 value와 onfocus=this.value='';로 그 대신 사용하고 있는데요.
jQuery - Detecting when a user clicks OUT of an input type Text Field
I want to detecting when a user clicks OUT of an input type Text Field, not in. Here's what I have but both events are firing on click inside (focus):
$("#...
stackoverflow.com
https://stackoverflow.com/questions/25162665/jquery-detect-the-click-outside-of-input
Jquery - detect the click outside of input
$('.hor-minimalist-a').on('blur','#ok',function(){ }); with this code above, i can handle events which fire If i leave the input field. How can I detect if someone cli...
stackoverflow.com
https://stackoverflow.com/questions/29155179/detecting-click-outside-a-text-field/29155233
Detecting Click outside a text field
I have a submit button and a text field. I know how to detect when user clicks inside the text field. Basically what i am doing is, when user clicks inside the text field, hide the text. if(
stackoverflow.com
input의 외부를 클릭했을 때 value를 다시 채워넣어주면 placeholder처럼 쓸 수 있습니다.
외부 placeholder를 사용할 수도 있습니다.
https://webclub.tistory.com/348
IE9이하 custom placeholder 처리하기
Custom Placeholder 플레이스 홀더는 브라우저마다 조금씩 다르게 구현되어 있습니다. 예를 들어, Chrome 은 텍스트 필드에 키값이 입력되어질 때 플레이스홀더 마킹이 사라지고 키값에 대한 텍스트를
webclub.tistory.com
'노력 > 회사' 카테고리의 다른 글
깃 여러 커밋을 체리픽 하는 방법 (0) | 2020.06.10 |
---|---|
이미지 특정 영역에 링크 걸기 (오늘 하루동안 보지 않기) (0) | 2020.06.10 |
깃 작업 되돌리기 (0) | 2020.06.09 |
Spring-boot-starter 프로젝트에 유효성 검사 (0) | 2020.06.08 |
깃 일부 변경 사항만 master에 적용하기 (0) | 2020.06.08 |