File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Drag and drop in Listbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Drag and drop in Listbox" Watch "Drag and drop in Listbox" New topic

Drag and drop in Listbox

lakshmi v.samy
Ranch Hand

Joined: Feb 02, 2006
Posts: 30
Hi Everybody,

I have list box, I want to drag any item in the list box and drop into some other index.

<select id="oResults" size=18 type=select-one >

<Option value="1">Apple
<Option value="2">Mango
<Option value="3">Banana
<Option value="4">Orange
<Option value="5">Pineapple
<Option value="6">Cherry
<Option value="7">Grapes


</BODY>Can you please help he how to do this.
Thans in advance
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Not going to happen.

You need to do something like this:

I agree. Here's the link:
subject: Drag and drop in Listbox
It's not a secret anymore!