일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 리눅스
- 룸북
- 다른사람 프로젝트 수정전 가져야할 자세
- linux
- Java
- 스프링부트
- it
- #{..}
- 순서 보장
- 자바스크립트 인라인
- Intellij
- cmd
- 하모니카 OS 5
- 명령어
- 타임리프
- 시퀀스 조회
- 함수 인자값 id
- BindingResult
- select
- 타임리프와 스프링
- JSON
- 추천 프로그램
- StringUtils.hasText
- js
- Test 룸북 사용하기
- 설정
- 비밀번호 변경 명령어
- 프로젝트 클린
- 개발시작전 자세
- 추천 사이트
- Today
- Total
목록◆JavaScript/함수 (3)
웹개발 블로그
https://cocook.tistory.com/135 [Javascript] 이벤트 진행 막기 or 다시 시작 이벤트를 다룰 때 종종 이벤트의 본래 행동은 막은 후 다른 것을 진행한 다음 다시 그 이벤트를 진행해야 할 때가 있다. 오늘은 이러한 상황에서 사용하는 명령어를 간단하게 알아보겠다. 예제 cocook.tistory.com // 클릭 이벤트를 막습니다. $(셀렉터).on("mousedown", function(event) { event.preventDefault(); }); //클릭 막기 해제 $(셀렉터).unbind('mousedown');
https://harrydony.tistory.com/976 [ datepicker ] 오늘 날짜로 초기화 $('#datepicker input').datepicker({ format : "yyyy-mm-dd", // endDate : "infinity", autoclose : true, todayHighlight :true, // 오늘을 표시해줄지. default 가 false endDate: '+90d', // 선택할 수 있는 최대 일자 }).datepicker("setDate", new harrydony.tistory.com

함수(빈값 확인) function blankValueMsg(formName,fieldName,viewStr) { var strValue = eval("document." + formName + "." + fieldName + ".value"); if (strValue == "") { alert(viewStr); eval("document." + formName + "." + fieldName + ".focus();"); return false; } return true; } 사용 function send() { var frm = document.form1; if(!blankValueMsg("form1","worker","작업자를 입력하세요.")) { return false; } if(!blankValue..