.load() headaches

.load() headaches

I have this block of code for a context menu:
This menu item works perfectly:
  1. else if (action == 'folder') {
  2. $.post("php/createfolder.php", { folder: el[0].className },
  3. function(data) {
  4.       $(el[0].parentNode.parentNode).load("php/loadsection.php", { idClass: el[0].className }, function(data)
  5.       {
  6.             createMenu();
  7.             makeEditable();
  8.       } ); } ); }
another part of the code never runs the createmenu or makeEditable functions unless I throw an alert!
Can anyone help figure this out?

  1. else if (action == 'section') {
  2. $.post("php/createsection.php",
  3. function(data) {
  4. $("#nav").load("php/load.php"),
  5. function() {
  6. createMenu();
  7. makeEditable();
  8. } } ); }
The .post and .load both work fine but in the second example, the createmenu and makeeditable never run.

Thanks for any help.