# Reloading web page with a button click

**URL:** https://community.plotly.com/t/reloading-web-page-with-a-button-click/7956
**Category:** Dash Python
**Created:** [January 25, 2018, 2:35pm UTC](https://community.plotly.com/t/reloading-web-page-with-a-button-click/7956 "2018-01-25T14:35:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rishikesh\_007](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Rishikesh\_007](https://community.plotly.com/u/Rishikesh_007)
#### Post date: [January 25, 2018, 2:35pm UTC](https://community.plotly.com/t/reloading-web-page-with-a-button-click/7956/1 "2018-01-25T14:35:52Z")

</div>

I want to create a button inside layout which can make a call to callback. This event should reload the current web page. Is it possible with callbacks?

---

<div class="post-metadata">

### Author: ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)
#### Post date: [January 25, 2018, 6:38pm UTC](https://community.plotly.com/t/reloading-web-page-with-a-button-click/7956/2 "2018-01-25T18:38:17Z")

</div>

You might be able to update the `href` property of the `dcc.Location` component. But why would you want to do this?

---

<div class="post-metadata">

### Author: ![Rishikesh\_007](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Rishikesh\_007](https://community.plotly.com/u/Rishikesh_007)
#### Post date: [January 26, 2018, 1:39pm UTC](https://community.plotly.com/t/reloading-web-page-with-a-button-click/7956/3 "2018-01-26T13:39:01Z")

</div>

I want to know how dash can handle such functionalities. Through callbacks how can I deal with such outputs. But thanks for the answer.
