jquery ajax zen cart
$.ajax({
type: 'POST',
url: 'ajax_remove_from_collection.php',
data: {
"single": '0',
"new_status": status,
},
success: function (data) {
var response = JSON.parse(data);
window.alert(data);
},
error: function (data) {
window.alert(data);
}
});