본문 바로가기

develop72

jquery radio 처리 1. checked 여부 확인$("input:checkbox[id='ID']").is(":checked") == true : false /* by ID */$("input:checkbox[name='NAME']").is(":checked") == true : false /* by NAME */ 2. checked/unchecked 처리$("input:checkbox[id='ID']").prop("checked", true); /* by ID */$("input:checkbox[name='NAME']").prop("checked", false); /* by NAME */ 3. 특정 라디오버튼 선택 / 모든 라디오버튼 선택해제 $("input:radio[name='NAME']:radio[value='VALU.. 2016. 12. 1.
SELECTBOX 스크립트 1. jQuery로 선택된 값 읽기 $("#selectBox option:selected").val();$("select[name=name]").val(); 2. jQuery로 선택된 내용 읽기 $("#selectBox option:selected").text(); 3. 선택된 위치 var index = $("#test option").index($("#test option:selected")); 4. Add options to the end of a select $("#selectBox").append("Apples");$("#selectBox").append("After Apples"); 5. Add options to the start of a select $("#selectBox").prepend.. 2016. 11. 30.
애자일 ver01 애자일 방법론(기민한, 민첩한) 개념 : 애자일 방법론은 소프트웨어 개발 방법에 있어서 아무런 계획이 없는 개발 방법과 계획이 지나치게 많은 개발 방법들 사이에서 타협점을 찾고자 하는 방법론.그러므로 계획을 통해서 주도해 나갔던 과거의 방법론과는 다르게 앞을 예측하며 개발을 하지 않고, 일정한 주기를 가지고 끊임없이 프로토 타입을 만들어내며 그때 그때의 필요한 요구를 반영하여 커다란 소프트웨어를 개발해 나가는 adaptive style이라고 할 수 있다.애자일 개발 프로세스의 상당수는 객체지향 기술을 기반으로 한다. 애자일 처리방법은 반복적인 일과 경험에 의거한 피드백을 통해서 예층 불가능한 일에 대응할 수 있도록 도와준다.애자일 개발 과정의 하나로 단순함과 융통성 때문에 가장 인기있는 방법론은 스크럼이.. 2016. 11. 24.
월 일별로 데이터 넣기 ArrayList resultMap = new ArrayList();String yearMonth = sgUtil.NVL((String) params.get("wkDate"));String paramYear = yearMonth.substring(0, 4);String paramMonth = yearMonth.substring(4, 6);Calendar cal=Calendar.getInstance();cal.set(Integer.parseInt(paramYear), Integer.parseInt(paramMonth)-1, 1);int lastDate = cal.getActualMaximum(Calendar.DATE);ArrayList printLabor1 = dao.printLabor1(params); .. 2016. 11. 1.
MSSQL 날짜 변환 convert CONVERT(VARCHAR, column_id, 102)expression이 날짜 또는 시간 데이터 형식이면 style은 다음 표에 있는 값 중 하나일 수 있습니다. 다른 값은 0으로 처리됩니다. . SQL Server 2012부터 날짜 및 시간 형식에서 datetimeoffset으로 변환할 때 지원되는 유일한 스타일은 0 또는 1입니다. 다른 모든 변환 스타일은 오류 9809를 반환합니다.SQL Server는 쿠웨이트 알고리즘을 사용하여 아랍어 스타일의 날짜 형식을 지원합니다.두 자리 연도(yy)(1)네 자리 연도(yyyy)Standard입/출력(3)-0 또는100(1, 2)datetime 및 smalldatetime의 기본값mon dd yyyy hh:miAM(또는 PM)1101미국1 = mm/dd/.. 2016. 9. 7.
썸넴일 클릭 시 큰화면으로 보여주는 방법 $(document).ready(function() { $('#review-simg img').on('click', function(){var srcName = $(this).attr('src').replace('http://attach.choroki.com/thumb/','');$('#review-bimg').attr('src','http://attach.choroki.com/'+srcName);});}); 2016. 7. 1.