Within my data object for the AJAX request, it is structured like this:
data: {
someVariable: []
}
However, upon initiating the AJAX call, I observe that someVariable
is not included in the POST data being sent.
- Is this issue specific to Mootools or does it apply across all of JavaScript?
- What methods can I utilize to purposely send an empty array?