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

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -