0
我有這個網站: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
謝謝:))