0

我需要一个 javascript 来拖放多个项目以及项目 ID 和项目所在的 ID。它应该同时支持 IE 和 Mozilla。

4

2 回答 2

1

You can also do it with JQuery. I'd never used JQuery before, and I needed a drag-and-drop functionality. It didn't take long to figure out how to use it.

You'll need to install JQuery and also JQuery UI and then use the Draggable and Droppable plugins.

于 2009-03-03T10:06:33.360 回答
0

这可能会有所帮助,一个非常好的免费库:Drag & Drop for Images and Layers

但是您应该实现自己的逻辑来支持丢弃的项目。

于 2009-03-03T10:02:27.270 回答