T
Thomas
Hi all!
Currently I have a web application that consists of a classic frameset. I
would like to rebuild the application and just use tables or layers. The
problem is, that some parts of the application need to be refreshed at a
given interval. Currently, these parts run in a separate frame and a
JavaScript function reloads the page every x seconds. In the new scenario I
could use iframes, but I would prefer another solution to avoid page
reloading. Was it possible to call a web service from a JavaScript function?
The web service would return a HTML string that the JavaScript function will
then write into a <div>-Element. This way I could avoid page reloads and the
JavaScript function could poll the web service every x seconds in order to
obtain and display the latest data.
Can this be done and if so, where can I find some sample code?
Thanks
Thomas
Currently I have a web application that consists of a classic frameset. I
would like to rebuild the application and just use tables or layers. The
problem is, that some parts of the application need to be refreshed at a
given interval. Currently, these parts run in a separate frame and a
JavaScript function reloads the page every x seconds. In the new scenario I
could use iframes, but I would prefer another solution to avoid page
reloading. Was it possible to call a web service from a JavaScript function?
The web service would return a HTML string that the JavaScript function will
then write into a <div>-Element. This way I could avoid page reloads and the
JavaScript function could poll the web service every x seconds in order to
obtain and display the latest data.
Can this be done and if so, where can I find some sample code?
Thanks
Thomas