私はdiv
ユニークなものを持っていてid
、それを手に入れようとしてdiv
id
いますjQuery
<div class="quantity" id="UNIQUE_ID">Quantity</div>
すべてがうまく機能しますが、ロード後div
は-からロードajax
できません。id
div
$('.quantity').click(function() {
$.post('quantity.php', { id: $(this).attr('id') }, function(output) {
$(this).html(output);
});
});
何か案は?