dynamically updating a page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zolo44
Forum Newbie
Posts: 21
Joined: Tue Jul 30, 2002 11:07 am

dynamically updating a page

Post by zolo44 »

Hey guys,

What I want to be able to do is have a use click on a button ( or link ) and forward them to a different page. That page will start a process of what ever the code will do, but I don't want it to start untill after the page fully loads.

After the page load I want to keep the page updating with the process information dynamically. Kind of like a status bar. I don't want to refresh the page but rather display information as it comes in.

Does anybody have any ideas as to how do start on it or what is needed?

Any help will be appreciated.
User avatar
J_Iceman05
Forum Commoner
Posts: 72
Joined: Wed Aug 03, 2005 10:52 am
Location: Las Vegas, NV

Post by J_Iceman05 »

Do you want to use javascript?

like... <body onLoad="javascript_function();">

and have the javascript do whatever processes you are need...
and as for keeping the page update as the info is processed...
is that like printing out the processed information or filling in certain forms based on the processes and information processed or am i just way off base here?
zolo44
Forum Newbie
Posts: 21
Joined: Tue Jul 30, 2002 11:07 am

Post by zolo44 »

I guess javascript can work. I'm not too sure tho.

i'll look into it.

Thanks
zolo44
Forum Newbie
Posts: 21
Joined: Tue Jul 30, 2002 11:07 am

Post by zolo44 »

never played with ajax before...

Any ideas as too where I should start?
User avatar
J_Iceman05
Forum Commoner
Posts: 72
Joined: Wed Aug 03, 2005 10:52 am
Location: Las Vegas, NV

Post by J_Iceman05 »

http://developer.mozilla.org/en/docs/AJAX

I searched for the word "ajax" in google
and this was the 6th unsponsored link...
google description wrote:A comprehensive guide on getting started with AJAX including articles, tutorials and links to other...
hope that helps...
zolo44
Forum Newbie
Posts: 21
Joined: Tue Jul 30, 2002 11:07 am

Post by zolo44 »

great!

thanks for you help.
Post Reply