I want to use POST variables with AJAX to post them to a page called results.php:
$.ajax({
type: "POST",
url: "results.php",
data:"score="+score+"&round="+round,
success: function(data) {
window.location.href = 'results.php';
}
})
The code is working and directing to results.php, but the page on results.php can't read the data for score or round. I know the data is correct, but the data isn't transfering?