1
我有这样的事情......如何将变量传递给.post()?
$().ready(function() {
$(".post .comment_this").click(function() {
var comment_id = $(this).attr('rel');
$.post(url_base + 'bio/community/get_comments', { 'comment_id' : comment_id }, function (response) {
console.log(comment_id);
});
});
});
如何通过comment_id
到该功能?所以我可以在那里使用它...
自动将现在的工作。^__^ – daGrevis
@daGrevis我嘟some了一些魔法咒语:)。 – kapa
单词杂音+1。 :) – vbence