|
yes, you can do that with AJAX. there are 2 principal ways to do it:
- only check for the file: make a HEAD request (like GET, only it asks for headers). check if the status property is 404.
- make a regular file request. check if the status property is 404.
__________________
please post your code wrapped in [CODE] [/CODE] tags
|