If there is no server-side involved, you can save the data using
Window.localStorage
(check if browser compatibility is OK for you)
$.ajax({
type: "POST",
url: "drilldown.html",
data:data,
success: function(response){
localStorage.setItem('myData', data);
window.location.href = 'drilldown.html'; // want to post the data this in redirection
}
});
On the drilldown.html
page, you can read the data with JavaScript by
var data = localStorage.getItem('myData');
There’s also sessionStorage
which will be cleaned up after browser restart.