Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jQuery UI drag and drop in coldfusion - question

Posted on 2012-03-12
1
452 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
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…

856 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