var isLogin = ''; $(function(){ $('.header-login-tag').on('click', '.header-info, .header-logout', function(){ var cls = $(this)[0].classList[0]; // if(cls == 'header-info'){ // // location.href = '/member/mypage'; // // }else if(cls == 'header-logout'){ HttpPostJson('/member/logout'); location.href = 'https://ceo.itgou.co.kr/'; } }); });