목록전체 글 (77)
4번독수리의 둥지
1. 하면 href='#'이 반드시 있어야 함 없으면 onclick 이벤트 실행되기 전에 해당 디렉토리의 index 페이지로 넘어가버림.. 2. href="#"는 page top 싫으면 onclick="return false;" 2. empty href iframe 안에서 a href를 ''로 수정했다가 403 에러..
true && undefined = undefined true || undefined = true false && undefined = false false || undefined = undefined 4번째 충격과 공포..
give me a tooltip I`m a tooltip function showTooltip() { // somehow show tooltip } function hideTooltip { // somehow hide tooltip } function moveTooltip(event) { var x = event.clientX; var y = event.clientY; if ( browser is Chrome ) { target.style.left = x; target.style.top = y; } else if ( browser is IE ) { target.style.posLeft = x; target.style.posTop = y; } } * IE, Chrome에서는 event 객체를 잘 사용할 수..
IE has a problem replacing TBODY contents with innerHTML. The jQuery given above works; if you are not using jQuery, another solution is to have a somewhere in the page - when the response arrives, put the value with a surrounding tag into the hidden div, then use the DOM to remove the old contents from your visible tag and insert the elements from the hidden tag 1 by 1:var a=document.getElement..
database select를 하기 전에는 prepare가 되지 않음.