웹표준,웹접근성(html, html5, css, css3, javascript, jQuery, jQueryMobile, snecha, senchaTouch, php, mobileWebApp)
Array 객체요소 제거Array 객체 메서드에는 특정 요소를 제거하는 메서드가 따로 없다.splice() 메서드를 사용하여 제거해야하며 프로토타입에 remove()를 추가해서 배열 요소를 제거할수 있다. Array.prototype.remove = function(index){ this.splice(index,1);} Array 객체 요소제거의 잘못된 예)// Array 생성자 함수 프로토타입에 remove() 메서드 추가 Array.prototype.remove = function(index){ this.splice(index,1);}// 숫자 4가지의 값을 가진 배열 num 선언var num= [80, 90, 200, 300];// num 배열의 갯수만큼 반복for(var i=0; i < num.l..
javascript/Tutorial
2014. 7. 11. 09:23
이벤트명 : 산업안전보건공단 - 베스트 안전습관작업일 : 2014.05.18url : http://www.kosha-event.com/bestSafety/gallery.html
portfolio/event
2014. 7. 3. 09:00