Refresh a HTML div without page load AJAX

Today, We want to share with you ajax page load without refresh example.In this post we will show you refresh particular div using javascript, hear for auto refresh div content without reloading page using javascript we will give you demo and example for implement.In this post, we will learn about onclick refresh page without reload with an example.

how to refresh a div using javascript without refreshing page

There are the Following The simple About how to refresh a particular div using jquery Full Information With Example and source code.

As I will cover this Post with live Working example to develop load content into div without reloading page, so the how to refresh a particular div using jquery on button click is used for this example is following below.

PHP Source Code


$upcommingmoviecontents = '<div>
<p>Tamilrockers is a torrent website that is immensely popular among south Indian movie fans. It is a desi version of the internationally notorious Pirate Bay from where one can download mostly South Indian movies and other content for free via a torrent client.</p>
echo json_encode($upcommingmoviecontents);

HTML Source Code


<!DOCTYPE html>
<title>jQuery Ajax Without Refresh webpage -</title>
<script src=""></script>
div {
 background-color: aquamarine;

<button class="custom-refresher">Refresh Div</button>
<div id="results-to-refresh">
<p>Khatrimaza is a public torrent website. Khatrimaza not only leaks Bollywood movies, Hollywood movies and South movies but also series from various digital.</p>

<script type="text/javascript">
$(document).ready(function () {
	$(document).on('click', '.custom-refresher', function () {
			url: 'get-upcomming-movie.php',
			method: "GET",
			dataType: 'json',
			success: function(response) {


You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about ajax page load without refresh example.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.