Having looked at the basics of jQuery, we can now look at some of the more specialised features. We will look at how we can achieve advanced user-interface effects such as drag-and-drop (which is surprisingly easy).
Drag and drop is actually quite easy to do with jQuery. It's not actually part of the core jQuery library itself, but instead part of the add-on jQuery UI (user interface) library, which needs to be downloaded separately (but is installed on Edward). We'll start with how to drag an element, and then consider how to drop it into another. Here is some example code to drag an element:
Hello
Test