</div>
<script type=" text>
function recommendArticle() {
jQuery.ajax({
type: "post",
url: "./recommend.ajax.php",
catche:false,
data: {bo_table:"free", wr_id:"10637594"},
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/1000)