How to link to the directory above web root by JavaScript?
<p>I'm trying to link to the directory above the web root, but it doesn't work in JavaScript. It doesn't matter how many <code>../</code> I use, it doesn't go more than twice, which is required to reach the web root. (Using PHP this works fine, though) I think it should be possible right? Could it be a permission problem? Thanks.</p>
