javascript reference file two folders up
snippet in javascript

javascript reference file two folders up

user9378

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

../../index.php
//This would be two directories up.