자바스크립트 switch 문 문법
switch(n) { case 1: execute code1 break; case 2: execute code2 break; default: code to be executed if n is different from case 1 and 2 }
switch(n) { case 1: execute code1 break; case 2: execute code2 break; default: code to be executed if n is different from case 1 and 2 }
– 출처 : http://blog.naver.com/battledocho/50093308151 – ※ border의 테두리두께, 모양, 색 설정하는 속성 등을 설정할 수 있다. * border-style : 테두리 모양 solid double groove ridge inset outset * border-width : 테두리를 각각 좌우위아래별로 설정 가능 border-left-width border-right-width border-top-width… Read More »
구글링 해 본 결과… .size() 와 .length 는 같은 결과를 반환하고, .size()는 .length 를 메서드 콜 하기 때문에 아주 미세하게 느리다 (-_- 😉 라고 한다. 결국 차이가 없다는 말이다.
– 출처 : https://developer.mozilla.org/en/nodeType – Summary Returns an integer code representing the type of the node. Syntax var type = node.nodeType; type is an unsigned short with one of the following values: Node.ELEMENT_NODE == 1 Node.ATTRIBUTE_NODE == 2 Node.TEXT_NODE == 3 Node.CDATA_SECTION_NODE == 4 Node.ENTITY_REFERENCE_NODE == 5 Node.ENTITY_NODE == 6 Node.PROCESSING_INSTRUCTION_NODE == 7 Node.COMMENT_NODE == 8 Node.DOCUMENT_NODE ==… Read More »
http://blog.outsider.ne.kr/406 https://github.com/douglascrockford/JSON-js
$obj.children(표현식) : $obj 하위 직속 엘리먼트 중에서 select. text node는 반환하지 않는다. $obj.find(표현식) : $obj 하위의 모든 엘리먼트 중에서 select $obj.filter(표현식) : $obj 집합 자체 내에서 select * 참고 – $obj.not(표현식) : filter()와 위상은 같고 결과는 정반대 이다. (표현식에 해당하는 집합들을 remove)
– 출처 : http://cafe.naver.com/webmarkup/188 – 복수의 컨트롤 (라벨포함)을 폼 안에서 그룹화 하여 폼을 더욱 정밀하게 구조화 할 수 있습니다. ◆ fieldset 요소 : 컨트롤의 그룹화하는 범위를 정의 합니다. 대부분의 브라우저에서 fieldset 주위에 자동으로 보더가 생깁니다. ◆ legend 요소 : 그룹화한 범위의 이름을 캡션으로 표시할 수 있습니다. fieldset 요소의 바로뒤에 한번만 출현 할 수 있습니다. … Read More »
div 가로정렬 하기
* 팝업이 아무리 해도 뜨지 않을 때. – window.open()의 두 번째 파라미터인 팝업명에 공백문자/특수문자가 들어 있지 않은지 점검하자. – 단지 팝업이 뜨지 않을 경우도 있고, SCRIPT87 에러를 발생시키는 경우도 있다.
– 출처 : http://www.webmini.net/304945 – scope=”col” scope=”col” scope=”row” 내용 내용 scope=”row” 내용 내용 table 코딩시 scope=”col” 와 scope=”row”를 보셨을겁니다. 일반사용자에게는 별의미가 없을수 있지만, 시각장애인들을 위한 접근성을 고려할때는 필요한 태그 입니다. 어떤 이미지인지 alt 태그에서 알수 있듯이.. th (제목이라는 정보)에 사용되는 속성이며, 세로(열) 일때는 scope=”col” 가로(행) 일때는 scope=”row” 로 사용하시면 됩니다.
http://shagall.tistory.com/183 http://msdn.microsoft.com/en-us/library/ms536759.aspx
– 출처 : 지식IN – CLASSID 속성은 Class IDentifier의 약자로, GUID(Global Unique IDentifier) 형태로 표시됩니다. 이는 ActiveX를 개발할 때 부여되는 번호입니다. 쉽게 말하면 해당 ActiveX ‘고유 식별자’가 되며, ActiveX가 생성될 때 해당 ActiveX가 고유하게 가질 수 있도록 할당되는 고유 번호입니다. 질문자분의 경우, 사용자의 컴퓨터에 설치된 ActiveX중 고유번호가 ‘6BF52A52-394A-11d3-B153-00C04F79FAA6’인 ActiveX를 보여주는 작업이기 때문에, 강제로 바꾸면 동영상이… Read More »
http://hooney.net/2007/08/27/451/
http://hyeonseok.com/pmwiki/index.php/Markup/Object http://blog.naver.com/digul2/20114290620
http://yellowvirus.tistory.com/53
http://www.xenomity.com/83 http://gerions.egloos.com/4530737 http://hopangbear.tistory.com/187 http://static.springsource.org/spring/docs/1.2.9/api/org/springframework/transaction/annotation/Propagation.html http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Transaction3.html
– 출처 : http://tutorials.jenkov.com/java-util-concurrent/concurrentmap.html – The java.util.concurrent.ConcurrentMap interface represents a Map which is capable of handling concurrent access (puts and gets) to it. The ConcurrentMap has a few extra atomic methods in addition to the methods it inherits from its superinterface, java.util.Map. ConcurrentMap Implementations Since ConcurrentMap is an interface, you need to use one of its implementations in order to use it. The java.util.concurrent package contains the following… Read More »
http://mindwing.kr/118
$(window).height(); // returns height of browser viewport $(document).height(); // returns height of HTML document * 참고 링크 : http://api.jquery.com/height/
Case 1. import com.kt.api.ws.common.claim.biz.ClaimBiz; import com.kt.api.ws.common.claim.model.CancelOrder; import com.kt.api.ws.common.claim.service.ClaimService; 이 상황에서 import com.kt.api.ws.common.claim.biz.ClaimBiz; import com.kt.api.virtualserver.common.claim.model.CancelOrder; import com.kt.api.ws.common.claim.service.ClaimService; 이렇게 바꾸고 싶었다. 그런데 그냥 .ws.를 .virtualserver.로 바꾸자니 .model.이 아닌 다른 부분에도 영향이 가기 때문에 정규식 치환을 생각하게 되었다. 그래서 다음과 같이 이클립스의 Find/Replace 를 셋팅해 놓고 Replace All을 하니 깔끔하게 해결되었다. (Find/Replace창의 Regular expressions에 체크된 상태여야 함) Find: … Read More »