요즘 핫이슈중인 2
function recommendArticle() { jQuery.ajax({ type: "post", url: "./recommend.ajax.php", catche:false, data: {bo_table:"photo", wr_id:"1003381"}, 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