분류 전체보기 (344) 썸네일형 리스트형 appendChild를 이용하여 td추가하기 12 태그생성해서 추가하기 aa bb cc createElement, appendChild aaa document 객체 document.createElement("태그명") document.createTextNode("텍스트") 객체명.insertBefore(newChild,refChild) 객체명.replaceChild(newChild,oldChild) 객체명.removeChild(oldChild) 객체명.appendChild(newChild) 객체명.parentNode 객체명.childNodes 객체명.previousSibling 객체명.nextSibling select 한 option 값을 이용해서 배경색바꾸기 onchange사용의 예 red orange gray red orange gray 주소선택해서 이전창으로 불러오기 a.html ========================================= bb.html =================================================== text value값을 id로 이용하기 eval,getElementById window.open(새창띄우기) a.html ====== b.html ====== 새창이다 이전 1 ··· 21 22 23 24 25 26 27 ··· 43 다음