Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript reference file two folders up

//.. selects the parent directory from the current. Of course, this can be chained:

../../index.php
//This would be two directories up.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #reference #file #folders
ADD COMMENT
Topic
Name
4+5 =