목록이벤트 (2)
킥복싱의 각종 자료실
attributes: NamedNodeMap baseURI: "file:///C:/Test.html" childElementCount: 0 childNodes: NodeList[1] children: HTMLCollection[0] classList: DOMTokenList className: "" clientHeight: 36 clientLeft: 1 clientTop: 1 clientWidth: 1443 contentEditable: "inherit" dataset: DOMStringMap dir: "" draggable: false firstChild: Text firstElementChild: null hidden: false id: "" innerHTML: "click" innerText: "c..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dxTDdi/btqvNiwUN17/KsImClU4NFGj4ygp1FRbkk/img.png)
모바일이 대세가 되고 있는 시점에서, 퍼블리싱하는 입장에서 몇가지 생각대로 동작되지 않는 경우가 있다. 이 중, 실제로 좀 어이가 없었던 게 하나 있었는데, 그것은 아이폰에서 터치가 먹지 않는 경우였다. 예제를 들어보면, a와 button이외의 태그에 클릭이벤트를 주는 경우가 있다. //-------------------------------------------------------------- 클릭 $(function(){ $(".sp").on("click", function(){ alert("클릭!!"); }); }); //-------------------------------------------------------------- 이 경우에, 아이폰에서 클릭 이벤트가 동작하지 않는다. 이럴때 해..