I have two pages (checkout and order page).
The checkout page contains a confirme order
button. If the button is clicked the order page loads the data without a page refresh.
How can i do that. Please click me.
I have two pages (checkout and order page).
The checkout page contains a confirme order
button. If the button is clicked the order page loads the data without a page refresh.
How can i do that. Please click me.
You can use an ajax call to get HTML from 'data.php' (or wherever you are getting your data from) and print that HTML into a div in checkout page.
$.ajax({
url: "data.php"
}).complete(function(result) {
$( div ).html(result);
});
Something similar to this.
For more on Ajax - http://api.jquery.com/jquery.ajax/