JavaScript -- File sizes

MaluMan

Member
Nov 23, 2002
183
0
0
i was wondering if anyone could help me out with some JavaScript, i'm trying to make links to a bunch of different files, and also show their respective sizes next to the link dynamically

i do not have write access on the webserver and i figured JavaScript would then be my best option...another problem is that it has to work with a majority of available browsers (not just IE, Netscape) also assuming they do not have a JVM

any ideas???

thanks for the help
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
JavaScript only works client-side. You would need some sort of server-side language (ASP, PHP, JSP, etc.) in order to dynamically show filesizes for server files.