Solved

drag and drop sortable list with ability to add new elements

Posted on 2008-10-16
2
210 Views
Last Modified: 2013-11-19
Hi

I'm currently using a drag and drop element list from Yahoo! YUI tools ( http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html ) to give users a list of elements in the left column for them to choose from, then they drag them to the right to select what they want.

I also need to add the ability to let the user add new elements to the right box as they need, such as a text box and add button, similar to ( http://demos.mootools.net/Dynamic.Sortables )

can someone advise what code is needed for this, and for the points provide a working example.

Kind regards
Neil
0
Comment
Question by:NeilT
2 Comments
 
LVL 7

Accepted Solution

by:
ASPSQLServerCOM earned 500 total points
ID: 22753103
hi,
if you are good at javascript, then its DOM you have to work on
instead of using the some other script, you can use javascript on drag drop function
you can dynamically add text box using javascript

http://bytes.com/forum/thread163965.html

http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21617292.html
0
 
LVL 3

Author Closing Comment

by:NeilT
ID: 31506779
Thanks
I had a look but in the end got one of my mates who writes the YUI code to write me a custom script.
Regards
Neil
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now