I have a problem: I want to redirect via JavaScript to a directory above. My code:
location.href = (location.href).substr(0, (location.href).lastIndexOf(\'fo
<a href="..">no JS needed</a>
.. means parent directory.
..