Lid |
|
Klein voorbeeldje uit een project van me misschien dat het je op het goede pad kan brengen.
function dellfile(path)
{
$.ajax({
type: "POST",
url: "<?php echo SITE_URL ?>/backoffice/modules/filemanager/dellfile.php",
data: "path=" + path + "&site=<?php echo SITE_URL ?>/backoffice/modules/filemanager/",
success: function(msg){
browseFolder(msg);
}
});
}
function dellfile(path) { $.ajax({ type: "POST", url: "<?php echo SITE_URL ?>/backoffice/modules/filemanager/dellfile.php", data: "path=" + path + "&site=<?php echo SITE_URL ?>/backoffice/modules/filemanager/", success: function(msg){ browseFolder(msg); } }); }
|