일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 영카트 #테스트메일
- CURTIME()
- PDO #DB접속
- trim #공백 제거 #PHP trim()
- 배열관련함수
- MySQL 날짜 관련 함수
- DATEDIFF()
- Now()
- BufferedReader #BufferedWriter
- DATE_FORMAT()
- HAVING 절
- Java 및 이클립스 설치
- 가상화
- strip_tags #html태그제거 #PHP strip_tags
- apt-get #apt-get 옵션 #apt-get options
- Java환경변수 설정
- sql용어
- php5.x
- apt #apt 명령어 #apt-get명령어
- db접속
- JSTL
- explode #선택제거 #PHP explode
- PHP달력관련함수
- DATE_ADD()
- CURDATE()
- 함수정의확인
- SQL 중복제거
- 이클립스 설치
- serializeObject
- DATE_SUB()
- Today
- Total
목록전체 글 (57)
M

프로미스란? 프로미스는 자바스크립트 비동기 처리에 대한 문제점을 보완하기 위해 사용되는 객체 ie 에서는 미지원 프로미스의 3가지 상태(states) Pending (대기) : 비동기 처리 로직이 아직 완료되지 않은 상태 Fulfilled (이행) : 비동기 처리가 완료되어 프로미스가 결과 값을 반환해준 상태 Rejected (실패) : 비동기 처리가 실패하거나 오류가 발생한 상태 Pending (대기) new Promise() 메서드를 호출하면 대기(Pending) 상태가 되며. 콜백 함수의 인자로는 resolve, reject new Promise(function(resolve, reject) { // ... }); Fulfilled (이행) 함수의 인자를 실행을 하면 이행(Fulfilled) 상태가..
.xls - 2003이하의 버전 .xlsx - 2007이상 버전 추가 라이브러리 git URL : https://github.com/SheetJS/sheetjs 파일 : /dist/xlsx.full.min.js git URL : https://github.com/eligrey/FileSaver.js 파일 : /dist/FileSaver.min.js function s2ab(s) { var buf = new ArrayBuffer(s.length); //convert s to arrayBuffer var view = new Uint8Array(buf); //create uint8array as viewer for (var i=0; i
jQuery.fn.serializeObject = function() { var obj = null; try { if (this[0].tagName && this[0].tagName.toUpperCase() == "FORM") { var arr = this.serializeArray(); if (arr) { obj = {}; jQuery.each(arr, function() { obj[this.name] = this.value; }); } } } catch (e) { alert(e.message); } return obj; };
class TV { private int size; public TV(int size) { this.size = size; } protected int getSize() { return size; } } 1. 다음 main() 메소드와 실행 결과를 참고하여 TV를 상속받은 ColorTV 클래스를 작성하라. public static void main(String[] args) { ColorTV myTV = new ColorTV(32, 1024); myTV.printProperty(); } 풀이 class ColorTV extends TV { private int resolution; public ColorTV(int size, int resolution) { super(size); this.resoluti..
1. 다음 클래스에 대해 물음에 답하라. class A { private int a; public void set(int a) { this.a = a; } } class B extends A { protected int b, c; } class C extends B { public int d, e; } (1) A objA = new ObjA();에 의해 생성되는 객체 objA의 멤버들을 모두 나열하라. -> private int a; -> public void set(int a) { this.a = a; } (2) B objB = new ObjB();에 의해 생성되는 객체 objB의 멤버들을 모두 나열하라. -> private int a; -> public void set(int a) { this.a =..
var browser = navigator.userAgent.toLowerCase(); if (browser.indexOf('chrome') != -1 || browser.indexOf('wow64') != -1){ window.print(); } else if (browser.indexOf('trident') != -1) { try { //참고로 IE 5.5 이상에서만 동작함 //웹 브라우저 컨트롤 생성 var webBrowser = ''; //웹 페이지에 객체 삽입 document.body.insertAdjacentHTML('beforeEnd', webBrowser); //ExexWB 메쏘드 실행 (7 : 미리보기 , 8 : 페이지 설정 , 6 : 인쇄하기(대화상자)) previewWeb.ExecWB..