kldesigns
9/8/2017 - 12:06 AM

Ajax call

requires jquery


$.ajax({ url: '/my/site',
         data: {action: 'test'},
         type: 'post',
         success: function(output) {
                      alert(output);
                  }
});