views:

167

answers:

3

I've built a recursive menu using PHP and MySQL and I'm looking for a decent Jquery plugin (or tutorial) - to implement re-ordering the menu based on drag and drop. Does anyone know of any?

BTW. I can do the relevant PHP, I just need something that can send drag and drop <li> elements in a nested set of <ul>s and send ajax requests.

P.S. I've had a little look around and there seem to be many links to plugins that don't work... not quite sure if this is my bad luck or just incompetence in looking...

A: 

You should have a look at jsTree.

Michael Dean
A: 

I like the jQuery UI Sortable plugin. Check it out here - http://jqueryui.com/demos/sortable/. I've never really nested it like a tree, though, but you can specify selectors to create a hierarchy (and I know you can create custom events to check .children(), .parents(), etc.)

Dan Beam
A: 

I made it myself. :)

Ashley Ward