Press "Enter" to skip to content

Oracle Apex: Reload/Refresh Page Using JavaScript

Sometimes it is required to refresh the whole page instead of refreshing a particular region. In this tutorial, I will show you how to reload/refresh the page using JavaScript in Oracle Apex.

To do this on or after a particular event, surely we need to create a dynamic action to execute JavaScript code.

Create a Dynamic Action to Execute JavaScript Code

As per your need, you can create a dynamic action on a button click or after a dialog window closed, etc. Create a dynamic action for any event and set its type to Execute JavaScript Code and put the following JavaScript code in it:


Below is the screenshot for your reference:

Reload page using JavaScript in Oracle Apex.

Save the changes and you are good to go.

Check more about JavaScript location.reload() function on Mozilla Developer’s Network.

Related Tutorial:

Oracle Apex: Calculate Field Values Using JavaScript

Have you found the answer to your question? If not, you can discuss it with me in the comments section below or join my Q&A community for developers and ask your question. It is FREE.

Vinish Kapoor


Hi, I am a full stack developer and writing about development. I document everything I learn and help thousands of people. is created, written, and maintained by me; it is built on WordPress, and hosted by Bluehost. Connect with me on Facebook, Twitter, GitHub, and get notifications for new posts.

Newest Most Voted
Inline Feedbacks
View all comments