473,422 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,422 software developers and data experts.

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 8706
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
0
by: arunprabu | last post by:
Hi, I have a problecm with the AJAX request in my webpage. I have some filters on top of the page. I have a submit button and an empty div below the filters. Some of the filters have ajax...
6
by: Rob Meade | last post by:
Hi all, Looking for a bit of help if possible. For about 2 weeks now I've been investigating the best way to populate related drop down menus, and have their values pre-populated again if the...
6
by: =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post by:
Greetings! I was researching AJAX to provide a solution to displaying status messages while a long process executed. I found several examples online and was able to use their code to get a quick...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
3
by: burrashiva | last post by:
:( ::) Hello there, I recently started Web Designing with PHP, Javascript and AJAX. I am facing a problem which I will try to explain: If I am successful in conveying the problem to you...
4
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a...
4
kelleyvanevert
by: kelleyvanevert | last post by:
Hello everyone, This question is often asked, and I know there are lots and lots of answers that I could be using, but I just want a clear good answer. I am making a website (for playing a game...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.