469,619 Members | 2,437 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,619 developers. It's quick & easy.

Ajax: Real Time updates without refreshing a page.

Hi,

let's say a page loads on a browser. Without refreshing the page,
multiple textboxes within the page gets real time data @ a few seconds
interval.

what is the logic behind to achieve this?

pls advise.

Thanks.

Jan 18 '07 #1
3 8476
"user" <my************@gmail.comwrote in news:1169100776.055691.108770
@s34g2000cwa.googlegroups.com:
Hi,

let's say a page loads on a browser. Without refreshing the page,
multiple textboxes within the page gets real time data @ a few seconds
interval.

what is the logic behind to achieve this?
http://en.wikipedia.org/wiki/Ajax_%28programming%29
>
Jan 18 '07 #2
Thanks Jim.

I understand that setInterval() is required. But where should I put
this function?

Jim Land (NO SPAM) wrote:
"user" <my************@gmail.comwrote in news:1169100776.055691.108770
@s34g2000cwa.googlegroups.com:
Hi,

let's say a page loads on a browser. Without refreshing the page,
multiple textboxes within the page gets real time data @ a few seconds
interval.

what is the logic behind to achieve this?

http://en.wikipedia.org/wiki/Ajax_%28programming%29
Jan 18 '07 #3
"user" <my************@gmail.comwrote in news:1169105261.818905.134340@
51g2000cwl.googlegroups.com:
Jim Land (NO SPAM) wrote:
>"user" <my************@gmail.comwrote in
news:1169100776.055691.108770
>@s34g2000cwa.googlegroups.com:
Hi,

let's say a page loads on a browser. Without refreshing the page,
multiple textboxes within the page gets real time data @ a few
seconds
interval.

what is the logic behind to achieve this?

http://en.wikipedia.org/wiki/Ajax_%28programming%29
>

Thanks Jim.

I understand that setInterval() is required. But where should I put
this function?
I really don't understand your questions, although it does sound like
Ajax will do what you want.

If you want to learn how to use Ajax, how to make an HTML request to your
server, and how to replace text on your webpage, you can learn from web
resources such as

http://www.jibbering.com/2002/4/httprequest.html

or a good book from your local bookstore.

When you have your Ajax all set up and running, and just want to know
where to call setInterval(), post a small portion of your javascript.

Jan 18 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Yarco | last post: by
reply views Thread by arunprabu | last post: by
6 posts views Thread by =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post: by
25 posts views Thread by Piotr Nowak | last post: by
4 posts views Thread by Peter | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.