Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: open

Message Too Old, No Replies

Using AJAX to Display Progress?

...jumping into AJAX, point me in the right direction!

     
3:11 am on Apr 7, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Apr 8, 2004
posts:215
votes: 0


I have an application that returns a decimal, which then becomes a graphical progress / % complete bar using css -- right now, the progress bar is refreshed by meta refresh but I thought this may be a nice way to dive into AJAX.

I'm pretty sure I have to load it into a div, but can I set up a time refresh on the load? I do have some experience with JS (mostly just customizing public stuff to my own needs) but this will be my first AJAX project, if someone can give me some pointers.

Thanks in advance.

nc

12:02 pm on Apr 9, 2006 (gmt 0)

New User

10+ Year Member

joined:Oct 14, 2004
posts:11
votes: 0


use window.setInterval(func, 500), where func is the name of the function who will be called every 500 millisecond.