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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -