私は ajax リクエストを送信しており、その結果を div に追加しました。この追加後、追加されたリンクをクリックしたい場合 (exec jquery クリック関数)、なぜクリック関数が機能しないのですか? (下手な英語でごめんなさい:P)
編集:
jQuery('.more').live("click",function() {
var ID = jQuery(this).attr("id");
if(ID) {
jQuery("#more"+ID).html('<img src="template/css/images/moreajax.gif" />');
jQuery.ajax({
type: "POST",
url: "loadmore.php",
data: "lastid="+ ID,
cache: false,
success: function(html){
$("#contentWall").append(html);
jQuery("#more"+ID).remove(); // removing old more button
}
});
} else {
jQuery(".morebox").html('The End');// no results
}
return false;
});