This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15376
Not going to happen.

You need to do something like this:

I agree. Here's the link:
subject: Drag and drop in Listbox
Similar Threads
positioning with multiple keystrokes in drop down list
populating textarea from dropdown box selection
Show a hidden text field
javascript error in populating select box
toughie..JSP in Javascript Dynamic Drop Down List