I'm linking an external javascript file. This always works if I want to go back a directory:
<script src="../../scripts/myScript.js" type="text/javascript"></script>
But I mistyped how many directories back I wanted to go, making three ../
as opposed to two. But it still worked. I even tried with six or seven ../
and the external javascript still loaded correctly. I put an alert in the file to see if it were being cached or something. The alert fired. Chrome, Firefox, IE8 all found the file. Does the browser just go back until it finds a directory with the filename or directory name you've specified after the last ../
and then proceed forward again?