I am using this code:
function save() {
// submit the dataform
$.post(document.dataform.action,
$("#dataform").serialize(),
function(reply) {
//handle reply here
});
}
This sends the right data to the server, but it arrives in $_GET. When I alter the server code to match I get the expected reply. There is a part of the query on the dataform.action. which I expected to arrive in $_GET.
How can I actually get the POST to send the data from the form so it arrives in $_POST, and thus avoid the size restrictions on GET?
I'm testing with Firefox, JQuery 9, and PHP 5.4.3
Thanks, Ian