<div class="codetitle"> <span><a style="CURSOR: pointer" data="12763" class="copybut" id="copybut12763" onclick="doCopy('code12763')"><u>코드 복사</u></a></span> 코드는 다음과 같습니다.</div> <div class="codebody" id="code12763"> <br>document.onclick = function(e){ <br> Alert(getKey (e)); <br>function getKey(e){ <br>var e = e || window.event; <br>varkeys = <br><br> if(e .shiftKey){ <br>keys.push("shift 키"); <br>if(e.ctrlKey){ <br>keys.push("ctrl 키"); >}; if(e.altKey){ <br>keys.push("alt key") <br>return 키; <br><br> </div>