This question is locked. New answers and comments are not allowed.
I am happily using a predefined hidden window to load a partial view via window.ajaxRequest().
When reopening the window to display another record the "old" window content is immediately shown.
The content gets updated with the new data when the ajaxRequest() finally returns.
So I would like to reset the window content in the onOpen() event, but how?
Furthermore I would like to display some loading animation to indicate activity, because some of the ajaxRequests takes a couple of seconds. Of course a spinning loading gif would be sufficiant.
So how to "inject" this content ajax gif in the onOpen()???
Thx
Jim
When reopening the window to display another record the "old" window content is immediately shown.
The content gets updated with the new data when the ajaxRequest() finally returns.
So I would like to reset the window content in the onOpen() event, but how?
Furthermore I would like to display some loading animation to indicate activity, because some of the ajaxRequests takes a couple of seconds. Of course a spinning loading gif would be sufficiant.
So how to "inject" this content ajax gif in the onOpen()???
Thx
Jim