담바이도 못사긋다.(2)

탈영 충북대

1범

2016.12.04가입

지상최고의여자

조회 1,638

추천 1

2018.01.03 (수) 11:02

수정 2

수정일 2018.01.03 (수) 11:11

                           

담바이도 못사긋다.(2)

let lock_recomment = false; function recommendArticle() { if (lock_recomment) { return; } lock_recomment = true; jQuery.ajax({ type: "post", url: "./recommend.ajax.php", catche:false, data: {bo_table:"proto", wr_id:"5528"}, dataType : "json", success: function(res) { lock_recomment = false; alert(res.msg); switch (res.code) { case "success" : $('#recommendButtonNew span').html( parseInt($('#recommendButtonNew span').html()) + 1 ); $('.artc_info .count_reply span').html( parseInt($('.artc_info .count_reply span').html()) + 1 ); break; default : return false; break; } }, error: function(res) { lock_recomment = false; } }); }

댓글 0

신고를 접수하시겠습니까?