POV-Ray : Newsgroups : povray.off-topic : Try Haskell : Re: Try AJAX Server Time
4 Sep 2024 17:16:51 EDT (-0400)
  Re: Try AJAX  
From: Darren New
Date: 3 Mar 2010 12:50:23
Message: <4b8ea15f$1@news.povray.org>
Invisible wrote:
> No, I'd just like to see if I can do a small proof-of-concept thing and 
> make it work. ;-) Let's face it, DOM is way too hard in the first place...

Then take static files and request them via xmlhttprequest. That's how I do it.

Make up files text1.txt text2.txt text3.txt and so on, then write a loop in 
javascript to sleep a few seconds, xmlhttprequest the next file in the list, 
and when it shows up take the data and populate a DOM element with it. It works.

-- 
Darren New, San Diego CA, USA (PST)
   The question in today's corporate environment is not
   so much "what color is your parachute?" as it is
   "what color is your nose?"


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.