Hiya
Is there anyway of seeing if a file exists using javascript
I know i can do this in VBS but really need to use Javascript unless someone knows of a way of calling an ASP function in XSL :)
Thanks
Sarah
Printable View
Hiya
Is there anyway of seeing if a file exists using javascript
I know i can do this in VBS but really need to use Javascript unless someone knows of a way of calling an ASP function in XSL :)
Thanks
Sarah
not sure exactly what kind of file you're looking for, but:
http://developer.irt.org/script/52.htm
You cannot test for the existence of a file on the user's system in any web language that a sane person uses.
It is to check the existance of a file on the server, an image file to see if we display it
:)
client side JavaScript can definately NOt do that. what is this for? a slideshow?
The link sent worked great - thanks!!
It is being used in a new website, that lists companies, some companies have their logos on the site others dont, so we needed to work out how to do this!
Somewhere in your database, you should specify if the image exists?
oh, did you get it working already?