Jquery Drag-Drop (Getting Element Being Dropped Into)
I am trying to detect which cell an object is being dropped into.
Sun | Mon |
Solution 1:I couldn't get dropping to work inside of cells - I even tried putting divs inside each of the cells. If you drop the draggable div into the droppable div this code will work:
Solution 2:It'd be a lot easier if you made the Also, I think you need to give the cells a width and height in the CSS. This seems to do what you want, courtesy of the jQuery UI docs:
|
Post a Comment for "Jquery Drag-Drop (Getting Element Being Dropped Into)"