Question
Check to see if a file exists
Hello all,
I have a small problem that I can't seem to figure out. I have several .htm files that I will need to run through the .chm and I want to check to see if a file exists prior to attempting to load it. If the file does not exist, I want it to load a default "File not found" page that I will create in my .chm.
I am familiar with .net programming, but JavaScript is fairly new to me. If someone could point me in the right direction, I would appreciate it.
I will now go and keep googling...thanks in advanced for any help you can provide.
I have a small problem that I can't seem to figure out. I have several .htm files that I will need to run through the .chm and I want to check to see if a file exists prior to attempting to load it. If the file does not exist, I want it to load a default "File not found" page that I will create in my .chm.
I am familiar with .net programming, but JavaScript is fairly new to me. If someone could point me in the right direction, I would appreciate it.
I will now go and keep googling...thanks in advanced for any help you can provide.
