Click to See Complete Forum and Search --> : java script help please


Lon
08-26-2003, 09:36 PM
:confused:
I need to do two things in a java script......

1= I want to be able to count the amount of images in a folder that my program is within, and return this number.

2= I then will need a little script to add the count from 1 to the amount of images in the file to this line.....

else if(document.sizer.newsize[3].checked) { image.className="size100"; }

to change the "image" to automatically count to the amount of images in my file?(image1 to image40 for an example.

Thanks Lon

Exuro
08-26-2003, 11:42 PM
Sorry, but I don't believe you can do things in the filesystem with JavaScript. For that, you'd need a server-side language like PHP or ASP.