개체의 childNodes 컬렉션에서 마지막 자식 개체을 반환한다.
![]() | Script | [oVal=]object.lastChild |
HTML | 없음 |
필수적인 요소 object는 이 속성이 적용되는 엘레멘트 개체이다.
이 속성은 읽기전용이며 디폴트값은 없다.
개체 | script | HTML | 규격 | IE |
---|---|---|---|---|
a | [oVal=]a.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
acronym | [oVal=]acronym.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
address | [oVal=]address.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
applet | [oVal=]applet.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
area | [oVal=]area.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
attribute | [oVal=]attribute.lastChild | 없음 | 없음 | IE6(win32) |
b | [oVal=]b.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
base | [oVal=]base.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
baseFont | [oVal=]baseFont.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
bdo | [oVal=]bdo.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
big | [oVal=]big.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
blockQuote | [oVal=]blockQuote.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
body | [oVal=]body.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
button | [oVal=]button.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
caption | [oVal=]caption.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
center | [oVal=]center.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
cite | [oVal=]cite.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
code | [oVal=]code.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
col | [oVal=]col.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
colGroup | [oVal=]colGroup.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
comment | [oVal=]comment.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
dd | [oVal=]dd.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
del | [oVal=]del.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
dfn | [oVal=]dfn.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
dir | [oVal=]dir.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
div | [oVal=]div.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
dl | [oVal=]dl.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
dt | [oVal=]dt.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
em | [oVal=]em.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
embed | [oVal=]embed.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
fieldSet | [oVal=]fieldSet.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
font | [oVal=]font.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
form | [oVal=]form.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
frame | [oVal=]frame.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
frameSet | [oVal=]frameSet.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
head | [oVal=]head.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
hn | [oVal=]hn.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
hr | [oVal=]hr.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
html | [oVal=]html.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
i | [oVal=]i.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
iFrame | [oVal=]iFrame.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
img | [oVal=]img.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
button | [oVal=]button.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
checkbox | [oVal=]checkbox.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
FileUpload | [oVal=]FileUpload.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
image | [oVal=]image.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
password | [oVal=]password.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
radio | [oVal=]radio.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
reset | [oVal=]reset.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
submit | [oVal=]submit.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
text | [oVal=]text.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
ins | [oVal=]ins.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
kbd | [oVal=]kbd.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
label | [oVal=]label.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
legend | [oVal=]legend.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
li | [oVal=]li.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
link | [oVal=]link.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
listing | [oVal=]listing.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
map | [oVal=]map.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
marquee | [oVal=]marquee.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
menu | [oVal=]menu.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
nextID | [oVal=]nextID.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
ol | [oVal=]ol.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
Option | [oVal=]Option.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
p | [oVal=]p.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
plainText | [oVal=]plainText.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
pre | [oVal=]pre.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
q | [oVal=]q.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
s | [oVal=]s.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
samp | [oVal=]samp.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
script | [oVal=]script.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
select | [oVal=]select.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
small | [oVal=]small.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
span | [oVal=]span.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
strike | [oVal=]strike.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
strong | [oVal=]strong.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
sub | [oVal=]sub.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
sup | [oVal=]sup.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
table | [oVal=]table.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
tBody | [oVal=]tBody.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
td | [oVal=]td.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
textArea | [oVal=]textArea.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
tFoot | [oVal=]tFoot.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
th | [oVal=]th.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
tHead | [oVal=]tHead.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
title | [oVal=]title.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
tr | [oVal=]tr.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
tt | [oVal=]tt.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
u | [oVal=]u.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
ul | [oVal=]ul.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
var | [oVal=]var.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
xmp | [oVal=]xmp.lastChild | 없음 | 없음 | IE5(win16,win32,unix,mac),IE5.5(ce) |
![]() | lastChild 속성⇒ | ![]() | ⇒ | ![]() ![]() ![]() |
<BODY id=bodyObj> <SCRIPT> document.write('bodyObj.lastChild='+bodyObj.lastChild+'<BR>bodyObj.lastChild.nodeName='+bodyObj.lastChild.nodeName) </SCRIPT>
<OL ID=olObj> <LI id='liObj1'>항목 번호 1 <LI id='liObj2'>항목 번호 2 <LI id='liObj3'>항목 번호 3 </OL> <SCRIPT> br='<BR>'; document.write('olObj.firstChild='+olObj.firstChild+br) document.write('olObj.firstChild.nodeName='+olObj.firstChild.nodeName+br) document.write('olObj.firstChild.id='+olObj.firstChild.id+br) document.write('olObj.firstChild.innerText='+olObj.firstChild.innerText+br+br) document.write('olObj.lastChild='+olObj.lastChild+br) document.write('olObj.lastChild.nodeName='+olObj.lastChild.nodeName+br) document.write('olObj.lastChild.id='+olObj.lastChild.id+br) document.write('olObj.lastChild.innerText='+olObj.lastChild.innerText+br) </SCRIPT>
![]() | lastChild 속성⇒ | ![]() | ⇒ | ![]() ![]() ![]() |
![]() | lastChild 속성 | ⇒ | ![]() ![]() |
최종 수정: 04/05/2025 17:23:50 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/property/lastChild.html |