0
私はこのHTML持っている:ユーザーがクリックし、キャンセルする場合ajaxリクエストの後に何かを置き換えますか?
<a href="#" class="cancel" id="cancel_3'">cancel</a>
を、私はハイパーリンクを削除すると、私は
$.ajax({
context:this,
type: "POST",
url: "actions/cancel.php",
data: "id=" + the_id,
cache: false,
success: function() {
$(this).remove;
// add image
感謝:))