일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 네이버스마트 에디터
- 전자정부 표준프레임워크
- 한글
- exception
- switch
- 이클립스
- SSL
- JSTL
- 톰캣
- 문자열
- DB
- 스크립트
- @RequestBody
- HTML5
- spring form tag
- 날짜
- jquery
- MYSQL
- 오라클
- html
- java
- checbox
- maven
- json
- RADIO
- php
- 호환성
- null
- Oracle
- 웹 플랫폼 설치 관리자
- Today
- Total
목록분류 전체보기 (525)
개인적인 정리
$("input[type='button'], input[type='submit']").css({'cursor':'pointer'});
오라클에서 날짜 변경하는 쿼리 update 테이블명 set regdate =(sysdate - 66 ) where tblname ='aaaaaa' and idx ='11111' ; 66은 day 기준이다.
jQuery.isNumeric() if ($.isNumeric(cameracnt) != true){alert('숫자만 입력하여주세요1.');$('#cameracnt').val('0');$('#cameracnt').focus();return false;}; http://api.jquery.com/jQuery.isNumeric/
http://bootstrapk.com/getting-started/ api라고 봐야 하는진 모르겠다.
if($("input:checkbox[name='deptpersonchk']:checked").length < 1) {alert('뭥미');return false;}
var fileName = $("#uploadfile").val(); fileExt = fileName.slice(fileName.indexOf(".") + 1).toLowerCase(); if(fileName.length < 1){alert("파일을 업로드 하여주세요.");$("#uploadfile").val('');return false;} if(fileExt !="xls"){alert("xls파일만 업로드가 가능합니다.");$("#uploadfile").val('');return false;}
$(this).prop('checked', true);$(this).attr("checked", true);$(this).attr('checked', 'checked'); 3개 중에 하나는 되는 듯... ie9에서 prop을 썼을 경우에 잘 되었는데,ie9에서 ajax 로 데이타를 불러와서 레이어를 띄워 checkbox를 control 하는 경우에는 prop이 되지 않았다. 그런 경우에는 $(this).attr('checked', 'checked'); 이 동작을 해서 다행히도 control 가능했다. $(document).ready(function(){//default 전체 선택$('input:checkbox[name="deptpersonchk"]').each(function (){/*ie9에서 안될 때..
//현재시간var now = new Date(); var year= now.getFullYear(); var mon = (now.getMonth()+1)>9 ? ''+(now.getMonth()+1) : '0'+(now.getMonth()+1); var day = now.getDate()>9 ? ''+now.getDate() : '0'+now.getDate(); var hour = now.getHours()>9 ? ''+now.getHours() : '0'+now.getHours(); var min = now.getMinutes()>9 ? ''+now.getMinutes() : '0'+now.getMinutes(); var sec = now.getSeconds()>9 ? ''+now.getSeconds(..