# Changing div's without reloading page

**URL:** <https://forum.kirupa.com/t/changing-divs-without-reloading-page/168833>\
**Category:** Uncategorized\
**Created:** [November 10, 2005, 2:24pm UTC](https://forum.kirupa.com/t/changing-divs-without-reloading-page/168833 "2005-11-10T14:24:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dwight](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@Dwight](https://forum.kirupa.com/u/Dwight)\
**Post date:** [November 10, 2005, 2:24pm UTC](https://forum.kirupa.com/t/changing-divs-without-reloading-page/168833/1 "2005-11-10T14:24:50Z")

</div>

Hi there,

I have a website build complete out of div’s. At one point there are three div’s on the same position, two of them aren’t visible.

I made a javascript to make another div visible and the current div invisible when clicking on a button.

This works like heaven, but when it “changes” from div’s the whole page reloads. This gives a flickering effect, that I don’t want.

Can someone tell me how this can be done without reloading the webpage???

tnx in advance
