[Dojo-interest] Re: DND Dragging Options from Select list not
working in IE7
dave at ladelfa.net
Fri Apr 28 13:36:55 MDT 2006
Bill Keese wrote:
> Dave LaDelfa wrote:
> > Drag-and-drop of listbox items works correctly in Firefox Win 1.5.0 but seems
> > not to work in Internet Explorer Win 7. Sample code follows. Is this a known
> > issue?
> Not sure, but there was a recent posting about this w/a suggestion to
> just disable drag & drop for select boxes. It doesn't seem very useful;
> why are you trying to do that?
I want to have the user drag elements out of a tree and drop them onto a list in
a form. Later, the form would submit and I'd do something with the contents of
the list. This part works correctly in both FF and IE (although it requires
setting all the options in the listbox ".selected = true" before submitting the
To remove items from the list, I want to have the user drag elements out of the
list (as opposed to using a "Delete" button). This is the part that works in FF
but not in IE.
I thought that using a <SELECT> would be the most straightforward way to do
this, although I can imagine doing this with a <DIV> instead, with nested <DIV>s
containing text and "hidden" input tags instead of <OPTION>s. Has someone
already rolled a dojo widget to simulate a listbox in this fashion (ala the
More information about the Dojo-interest