이벤트가 발생되었는지를 알려주는 기능을 중지키시기 위하여 이벤트로 부터 지정된 기능을 해제한다.
![]() | Script | object.detachEvent(sEvent,fpNotify) |
반환값은 없다.
attachEvent 메서드로 이벤트에 첨부된 기능은, ondetach 이벤트가 발생되면 페이지로부터 받는 통보를 중지시키기 위하여, 명시적으로 detachEvent 메서드를 호출하여야 한다.
PUBLIC:ATTACH 엘레멘트를 사용하여 이벤트에 첨부된 기능은 비헤이버가 엘레멘트로부터 제거되면 통보를 받는 것이 자동적으로 중지되므로, detachEvent 메서드를 호출할 필요는 없다.
개체 | script | IE |
---|---|---|
a | a.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
acronym | acronym.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
address | address.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
applet | applet.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
area | area.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
b | b.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
base | base.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
baseFont | baseFont.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
bgSound | bgSound.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
big | big.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
blockQuote | blockQuote.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
body | body.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
br | br.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
button | button.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
caption | caption.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
center | center.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
cite | cite.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
code | code.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
col | col.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
colGroup | colGroup.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
comment | comment.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
custom | custom.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
dd | dd.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
del | del.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
dfn | dfn.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
dir | dir.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
div | div.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
dl | dl.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
document | document.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
dt | dt.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
em | em.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
embed | embed.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
fieldSet | fieldSet.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
font | font.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
form | form.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
frame | frame.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
frameSet | frameSet.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
head | head.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
hn | hn.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
hr | hr.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
html | html.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
i | i.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
iFrame | iFrame.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
img | img.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
button | button.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
checkbox | checkbox.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
FileUpload | FileUpload.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
hidden | hidden.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
image | image.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
password | password.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
radio | radio.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
reset | reset.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
submit | submit.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
text | text.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
ins | ins.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
kbd | kbd.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
label | label.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
legend | legend.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
li | li.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
link | link.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
listing | listing.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
map | map.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
marquee | marquee.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
menu | menu.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
namespace | namespace.detachEvent(sEvent,fpNotify) | IE5.5(win32,ce) |
noBR | noBR.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
Object | Object.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
ol | ol.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
Option | Option.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
p | p.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
plainText | plainText.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
pre | pre.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
q | q.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
s | s.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
samp | samp.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
script | script.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
select | select.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
small | small.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
span | span.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
strike | strike.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
strong | strong.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
sub | sub.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
sup | sup.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
table | table.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
tBody | tBody.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
td | td.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
textArea | textArea.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
tFoot | tFoot.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
th | th.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
tHead | tHead.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
title | title.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
tr | tr.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
tt | tt.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
u | u.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
ul | ul.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
var | var.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
window | window.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
xmp | xmp.detachEvent(sEvent,fpNotify) | IE5(win32,unix),IE5,5(ce) |
![]() | detachEvent 메서드⇒ | ![]() | ⇒ | ![]() ![]() ![]() |
<STYLE> UL.exp LI {behavior:url(../public/hilite.htc); line-height:1.3em;} </STYLE> <SCRIPT> function detachBehavior(){ document.styleSheets[1].rules[0].style.behavior= ''; } function attachBehavior(){ document.styleSheets[1].rules[0].style.behavior='url(../public/hilite.htc)'; } </SCRIPT> <UL class=exp> <LI>Property</LI> <LI>Object</LI> <LI>Method</LI> <LI>Event</LI> </UL> <P style=margin-left:3em>비헤이버 첨부(<A href="javascript:attachBehavior()">attach</A>) 비헤이버 제거(<A href="javascript:detachBehavior()">detach</A>)</P>
![]() | detachEvent 메서드⇒ | ![]() | ⇒ | ![]() ![]() ![]() |
![]() | detachEvent 메서드 | ⇒ | ![]() ![]() |
최종 수정: 04/03/2025 22:19:37 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/method/detachEvent.html |