I have a single window that I reuse from my webpage. User can click various buttons to display a modal sublist. The button clicks are mapped to a javascript function.
In that function, I make a call to the windows refresh method giving it a new url. Then I change the title for the window and finally I call open().
It works but not great. The first time, it works fine. But then I close the window, and I click on a different button. The window opens again, but it's showing the content from the first time, and then a second later, it finally updates to the new content.
Any solutions?
In that function, I make a call to the windows refresh method giving it a new url. Then I change the title for the window and finally I call open().
It works but not great. The first time, it works fine. But then I close the window, and I click on a different button. The window opens again, but it's showing the content from the first time, and then a second later, it finally updates to the new content.
Any solutions?