Topic: ajax background process

Hi All,

I'm looking for some sample for background posting process via ajax.

HTML side:

  showInsideZipfile: function(file, token) {
    $.ajax({
      type:"post",       
      data:{ filename: file, token: token },
      url:"index.php?id=downloder"
    }).done(function( msg ) {
      alert( "Data Saved: " + msg );
    });

I don't know how can I receive php side...

Re: ajax background process

Life example of AJAX in Monster - this plugin Pages

1 - https://github.com/Awilum/monstra-cms/b … min.php#L7
2 - https://github.com/Awilum/monstra-cms/b … hp#L24-L33
3 - https://github.com/Awilum/monstra-cms/b … s/pages.js

Monstra Loves You! Give some love back!

Re: ajax background process

Thanks, I've solved it wink