끌어놓기(드래그: drag) 이벤트를 시작한다.

Script[bVal=]object.dragDrop()
인수/파라메터
파라메터

파라메터는 없다.

반환값

반환값 bVal은 다음 중 하나의 부울값이다.

true 끌어 놓기 작업이 성공적으로 완료되었다.
false 끌어 놓기 작업이 취소되었다.
특기

ondragstart 이벤트가 발생되도록 이 메서드를 사용할 수 있다.
이 이벤트가 취소되지 않으면 드래그 작업이 시작된다. 마우스가 해제되면 이 메서드는 값 true을 반환하고, ondragstart 이벤트가 취소되면, 이 메서드는 즉시값 false을 반환한다.

적용
개체scriptIE
aa.dragDrop()IE5.5(win32,ce)
areaarea.dragDrop()IE5.5(win32,ce)
baseFontbaseFont.dragDrop()IE5.5(win32,ce)
bgSoundbgSound.dragDrop()IE5.5(win32,ce)
bodybody.dragDrop()IE5.5(win32,ce)
brbr.dragDrop()IE5.5(win32,ce)
buttonbutton.dragDrop()IE5.5(win32,ce)
captioncaption.dragDrop()IE5.5(win32,ce)
colcol.dragDrop()IE5.5(win32,ce)
commentcomment.dragDrop()IE5.5(win32,ce)
dddd.dragDrop()IE5.5(win32,ce)
divdiv.dragDrop()IE5.5(win32,ce)
dtdt.dragDrop()IE5.5(win32,ce)
embedembed.dragDrop()IE5.5(win32,ce)
fontfont.dragDrop()IE5.5(win32,ce)
formform.dragDrop()IE5.5(win32,ce)
frameframe.dragDrop()IE5.5(win32,ce)
headhead.dragDrop()IE5.5(win32,ce)
hrhr.dragDrop()IE5.5(win32,ce)
htmlhtml.dragDrop()IE5.5(win32,ce)
iFrameiFrame.dragDrop()IE5.5(win32,ce)
imgimg.dragDrop()IE5.5(win32,ce)
buttonbutton.dragDrop()IE5.5(win32,ce)
checkboxcheckbox.dragDrop()IE5.5(win32,ce)
FileUploadFileUpload.dragDrop()IE5.5(win32,ce)
imageimage.dragDrop()IE5.5(win32,ce)
passwordpassword.dragDrop()IE5.5(win32,ce)
radioradio.dragDrop()IE5.5(win32,ce)
resetreset.dragDrop()IE5.5(win32,ce)
submitsubmit.dragDrop()IE5.5(win32,ce)
texttext.dragDrop()IE5.5(win32,ce)
isIndexisIndex.dragDrop()IE5.5(win32,ce)
labellabel.dragDrop()IE5.5(win32,ce)
legendlegend.dragDrop()IE5.5(win32,ce)
lili.dragDrop()IE5.5(win32,ce)
mapmap.dragDrop()IE5.5(win32,ce)
marqueemarquee.dragDrop()IE5.5(win32,ce)
metameta.dragDrop()IE5.5(win32,ce)
ObjectObject.dragDrop()IE5.5(win32,ce)
olol.dragDrop()IE5.5(win32,ce)
OptionOption.dragDrop()IE5.5(win32,ce)
pp.dragDrop()IE5.5(win32,ce)
scriptscript.dragDrop()IE5.5(win32,ce)
selectselect.dragDrop()IE5.5(win32,ce)
spanspan.dragDrop()IE5.5(win32,ce)
stylestyle.dragDrop()IE5.5(win32,ce)
tabletable.dragDrop()IE5.5(win32,ce)
tdtd.dragDrop()IE5.5(win32,ce)
texttext.dragDrop()IE5.5(win32,ce)
textAreatextArea.dragDrop()IE5.5(win32,ce)
titletitle.dragDrop()IE5.5(win32,ce)
trtr.dragDrop()IE5.5(win32,ce)
ulul.dragDrop()IE5.5(win32,ce)
참조
text

method
dragDrop 메서드
dragDrop</b> 메서드이전페이지로페이지 맨위로페이지 맨아래로
method
dragDrop 메서드
견본
이전페이지로페이지 맨위로
최종 수정:
06/30/2025 17:12:16
KoXo Homepage
All right reserved
비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다.
오류가 나면 정상적 접속으로 시도해 보세요.
http://koxo.com/lang/js/method/dragDrop.html