[자바스크립트] 이벤트시 동기화되어 펑션들이 실행되지 않는 경우
프로그래밍/JavaScrpit
2016. 9. 8. 17:57
자바스크립트에서 이벤트호출시 Callback Function이 종료되기 까지 이벤트가 실행이 되지 않는다... 이런 경우에는 비동기로 작업을 처리해야한다... $('#example3 tbody').on( 'click', '.transportzone, .tenant', function () { var $this = $(this); $("#logical_topology").empty(); $("#example3 tbody td").css("font-weight","normal") $("#example3 tbody td").css("background-color","white") $(this).css("font-weight","bold") $(this).css("background-color","#FAF4C0..