拖入事件!高手请进

ahui_net 2003-09-15 10:47:31
我怎么判断一个移动的层,拖动到了我的td里面?
...全文
32 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
eva 2003-09-15
  • 打赏
  • 举报
回复
ondragenter
事件参考:http://expert.csdn.net/Expert/topic/2230/2230202.xml?temp=.1986811
hemeng 2003-09-15
  • 打赏
  • 举报
回复
up!!
wind0209 2003-09-15
  • 打赏
  • 举报
回复
ondrag Fires on the source object continuously during a drag operation.
ondragend Fires on the source object when the user releases the mouse at the close of a drag operation.
ondragenter Fires on the target element when the user drags the <DIV> to a valid drop target.
ondragleave Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
ondragover Fires on the target element continuously while the user drags the <DIV> over a valid drop target.
ondragstart Fires on the source object when the user starts to drag a text selection or selected object.
ondrop Fires on the target object when the mouse button is released during a drag-and-drop operation.

在td里的ondragenter事件里判断罗。
ahui_net 2003-09-15
  • 打赏
  • 举报
回复
我怎么判断一个移动的层,拖动到了我的td里面?
是这个

87,901

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧