Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: check link, if broken then redirect ot display a message to that effect


Message #1 by "ashish verma" <ashish.verma@c...> on Tue, 31 Jul 2001 11:21:47
As far as I know, you can't do that in client-side javascript. You have to
use a ASP, PHP or any other CGI languages.
(In ASP that can be done with the FileExists method of the FileSystemObject)...


----- Original Message -----
From: "ashish verma" <ashish.verma@c...>
To: "javascript" <javascript@p...>
Sent: Tuesday, July 31, 2001 11:21 AM
Subject: [javascript] check link, if broken then redirect ot display a
message to that effect


> I Have several links to word document, but the documents have not yet 
> been placed on the server, Is there any way to check a link to see if the
> directory and filename exist and then display a message

  Return to Index