![]() after clicks on the side bar/icon, page is reloading and blank screen displaying. Screen is going to blank like in 3 screenshot.Ģ. Here due to page is reloading automatically when clicks on the side bar, screen is blank.ġ.when clicks on the lefside bar, usually need to show the details in second screenshot But it is not showing those. const expiryDurationMins 1 window.addEventListener ('load', setInterval.bind (null, reloadPage.bind (null, expiryDurationMins), 1000)) Share. When we try with javascript side in local system working perfect. On page load, we use the setInterval function to check if the page has expired after a certain period. The reload () method does the same as the reload button in your browser. When opens the screen, workin perfect, but here in the screen left side, there is icon to clcik to show the particulars, So when click on that icon screen will expand and actually will show the details then when click on close, it should close side part.īut problme is here, when clicks on the side bar icon lefside, the page is reloading and showing blank. Description The reload () method reloads the current document. Here's an example of how to use the location.reload () method: // Reload the current page location. This method tells the browser to reload the current page, just as if the user had clicked the reload button or pressed the F5 key. In java script code inside the body is like: The answer is simple: just use the location.reload () method. I am implementing the web screen using totally with java script code. ![]() I am new to add JavaScript code implementing in outsystems. The location.reload() method is indeed a standard JavaScript method used to reload the current webpage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |