Solved

jQuery UI drag and drop in coldfusion - question

Posted on 2012-03-12
1
434 Views
Last Modified: 2012-03-20
Hi Experts,

I'm trying to implement a coldfusion page with jQuery UI drag and drop features. I have a basic CF page that has 3 different containers - High School, Middle School and Elementary School. A query returns a resultset that populates individual divs with the names of the schools.

The user then matches up the individual school names to the school types. Once the matching is complete, I need to save the results to a DB. Attached is some code that I have but does not work.
DragnDropCF.docx
0
Comment
Question by:roger_v
1 Comment
 
LVL 25

Accepted Solution

by:
dgrafx earned 500 total points
ID: 37719779
To start it looks like the problem is that you don't have a draggable element.
You are saying that the element with an ID of "draggable" is draggable - BUT you don't have an element with that ID.
Keep in mind that an elements ID needs to be unique so you would only be able to set one element per page if using ID.
You need to give your element a class of draggable AND change your css & js FROM #draggable TO .draggable.

Try that ...
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

867 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

15 Experts available now in Live!

Get 1:1 Help Now