<div class="codetitle"> <span><a style="CURSOR: pointer" data="46964" class="copybut" id="copybut46964" onclick="doCopy('code46964')"><u>코드 복사</u></a></span> 코드는 다음과 같습니다.</div> <div class="codebody" id="code46964"> <br>function GetCurrentDirectory() <br>{ <br>var curHref = location .href; <br>var curArray = locHref.split("/"); <br>delete curArray[curArray.length - 1]; <br>var curdir = curArray.join("/"); 🎜>커디르 반환 <br>}<br><br> </div>