I have an array which contains many keys/values that are generated dynamically, so I never know what data I am definitely posting. This means I can’t use :
$.ajax({
url: "php/addressMain.php",
data: {data: alldata},
type: "POST",
success: function(data) {}
});
As I never know what data will be. I am currently just converting it to a querystring and posting it as a GET, however what I really need is something that will convert my array to a data array for the AJAX post, as the querystring becomes too long.
Since you’ve already been able to create a querystring, why not use the query string with POST since your issues seems to be the length limitation of GET?