homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Using AJAX to Display Progress?
...jumping into AJAX, point me in the right direction!

10+ Year Member

Msg#: 5254 posted 3:11 am on Apr 7, 2006 (gmt 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.




10+ Year Member

Msg#: 5254 posted 12:02 pm on Apr 9, 2006 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved