How do I refresh a div tag with reloading the page?

I have a div tag that I want to loop through and refresh at the end of the loop. I understand Ajax is probably the best option for this but how do I refresh just the div tag alone without reloading the page?

In the title I meant to say How do I refresh a div tag without reloading the page?

If the content is going to be dynamic Ajax is the only solution since you can’t send HTTP requests without using an asynchronous request first.