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