I have two pages first page post the data to second page and I would like to our request remain on second page?
$.ajax({
cache: false,
url: base_path + '/second.php',
type: 'post',
data: {
div_contenant: div_contenant
},
success: function(data){
}
})
our second page generates the pdf file, we want that our request remain the second page and show the second page on this call
Don’t use AJAX, just load
/second.phpusing a form or link.