AJAXを介してロードされるチェックボックスで次のようなことをしたいと思います。
$('input:checkbox').each(function() {
$(this).hide();
alert("hi");
$('<div class="checkbox-fx"><div class="checkbox"></div></div>').insertAfter(this);
});
ドキュメントの読み込み時にチェックボックスがまだ読み込まれていないため、関数は実装されません。新しくロードされたチェックボックスをループするにはどうすればよいですか?
ありがとう!