</div> <script type=" text javascript> function recommendArticle() { jQuery.ajax({ type: "post", url: "./recommend.ajax.php", catche:false, data: {bo_table:"free", wr_id:"10620043"}, dataType : "json", success: function(res) { alert(res.msg); switch (res.code) { case "success" : var $number_recom = $("#recommendButtonNew"); var string = '추천 ('+number2html(Number($number_recom.attr('value'))+1)+')'; $number_recom.html(string); break; default : return false; break; } } }); } 추천(0)
댓글