Determine if path is absolute or relative
- From: "Giles" <giles@xxxxxxxxxx>
- Date: Sat, 17 Nov 2007 09:35:30 -0000
Is there a simple JS function to determine if a path is absolute or
relative, that works for both local and web paths? picking up :// is easy
enough, but the path may be local, like d:\mydir\subdir\ (instead of
file:///d:/mydir/subdir/ ). Or it may be a share...
Thanks, Giles
.
- Follow-Ups:
- Re: Determine if path is absolute or relative
- From: Dr J R Stockton
- Re: Determine if path is absolute or relative
- From: Evertjan.
- Re: Determine if path is absolute or relative
- Prev by Date: Re: Is it posible to create a circle object using javascript?
- Next by Date: Re: Determine if path is absolute or relative
- Previous by thread: Is it posible to create a circle object using javascript?
- Next by thread: Re: Determine if path is absolute or relative
- Index(es):