jquery - Alternative Relative Path format -


i came across "././mail/contact_me.php" in .js file. first thought syntax error relative path "../../mail/contact_me.php". if change this, script not work. presume "././" have meaning. not find discussions on over web.

./ current directory.
../ parent directory of current directory.
../../ means "go 2 levels in directory structure".
instead ././ typo since refer twice current directory. not syntax error, redundant. ./mail/contact_me.php should equivalent.


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -