Solved

drag and drop sortable list with ability to add new elements

Posted on 2008-10-16
2
211 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:Neil Thompson
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:Neil Thompson
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
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.
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 …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

773 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