April 30th, 2001, 04:16 PM
-
Hi...
wondering if anyone can help with a problem ive been working on...
want to create a 'static' news board and generate the html on the fly client-side. have done similar stuff before declaring an array of user defined objects and simply looping through the array outputting the html 
problem is news items are too big to be an element in an array, (well, it works but its messy!)
does anyone know of a way to get javascript to read a directory of files and read the contents of each file; perhaps generated in a fashion similar to XML?
i know i could do this server-side no probs, but want to know if theres a client-side way to do this (speed!)
hope this gets a few cogs turning
cheers
steve
April 30th, 2001, 04:56 PM
-
No, there is no way for JavaScript to read files either on the client, or on the server.
For something like that you have to use either Java (or ActiveX) or some server-side technologies...