Page 1 of 1

dynamically updating a page

Posted: Tue May 23, 2006 1:55 pm
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.

Posted: Tue May 23, 2006 5:07 pm
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?

Posted: Wed May 24, 2006 9:16 am
by zolo44
I guess javascript can work. I'm not too sure tho.

i'll look into it.

Thanks

Posted: Wed May 24, 2006 10:14 am
by zolo44
never played with ajax before...

Any ideas as too where I should start?

Posted: Wed May 24, 2006 10:40 am
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...

Posted: Wed May 24, 2006 11:27 am
by zolo44
great!

thanks for you help.