Click to See Complete Forum and Search --> : Requesting data from the server without refreshing the whole page


hitai
February 21st, 2006, 10:48 PM
As the title say, is this even possible?

Let`s say ther is a text box on the web page. Every now and then, the page should request some data from the server to be displayed in the textbox. Obviously, submitting the entire form is not good for performance since data should be received at intervals of seconds.

Is it possible to get data from the server at preset interval and use it to update only a section of the webpage without submitting the entire page?

PeejAvery
February 21st, 2006, 11:11 PM
Well, you have two options.

1. Use AJAX (asyncronous client-server connection).
2. Hide and IFRAME and reload the data in that.

degsy
February 22nd, 2006, 08:06 AM
I would recommend AJAX
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm