I want to reload the page once user click on Project (menu item) in customer portal.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 09:01 AM
Hi,
I want to reload the page whenever the user click on Project (menu item) in the customer portal.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 06:32 AM
Hello @Mohammmad Faiz ,
The reload()
method does the same as the reload button in your browser.
-
Identify the HTML element for the "Project" menu item. It might have an id or class that you can use.
It would look something like this:
document.getElementById('projectMenuItem').addEventListener('click', function() { location.reload(); });