Actions
Task #69228
closedjQuery AJAX Backend calls result in empty params array
Start date:
2015-08-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:
Description
I followed the instructions here: https://docs.typo3.org/typo3cms/CoreApiReference/JavaScript/Ajax/Backend/Index.html. The request succeeds, but the params array is always empty. I'm using jQuery and can't figure out what could be wrong when sending data like this:
$.ajax({
type: 'POST',
url: TYPO3.settings.ajaxUrls['Class::Function'],
data: {foo: "bar"},
success: function (result) {
console.log(result);
},
error: function (error) {
}
});
With prototype it's working. Any special format required?
Updated by Wouter Wolters over 9 years ago
- Status changed from New to Closed
Hi, this is certainly not a bug. More a question for our forum or Slack channel.
you can find our forum on https://forum.typo3.org
Registering on Slack can be done here https://forger.typo3.org/slack
There are enough people that can help you with your problem.
Actions