Persistent drag and drop tree with jQuery, PHP and MySQL – CRUD

Posted on the August 4th, 2009 under Javascript, MySQL, PHP, Programming, jQuery by Mauro

Many people asked me how to implement the basic CRUD functionalities for the D&D Tree, so here it is:


download Download persistentTreeCRUD.zip

I use the simpletree callback function afterDblClick for the modify functionality, and a simple jQuery click for add and delete. I also used nyroModal for the popup windows.
In this example i reload the page when a CRUD operation is performed, a better implementation should use ajax to modify the tree on the fly.
Is not perfect but it works :) Enjoy!

Donate 1 euro, buy me a coffee, I need it to write more posts! Thanks ;)

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • Netvibes
  • Pownce
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • LinkedIn
  • Ma.gnolia
  • MySpace
Tags: , , ,

11 Responses to 'Persistent drag and drop tree with jQuery, PHP and MySQL – CRUD'

  1. August 23, 2009 at 9:06 pm
    josh
  2. October 23, 2009 at 9:16 am
    Mauro
  3. February 4, 2010 at 2:59 am
    ramji
  4. February 9, 2010 at 11:06 am
    E-Finity
  5. February 10, 2010 at 4:32 am
    Mauro
  6. March 30, 2010 at 7:02 am
    skanda
  7. March 30, 2010 at 7:08 am
    Skanda
  8. April 3, 2010 at 3:07 pm
    luca
  9. April 3, 2010 at 3:26 pm
    luca
  10. April 6, 2010 at 12:52 am
    Saqib Aziz

Leave a Reply




XHTML::
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">