Änderungen Dienstag
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
function onClickDelete(id){
|
||||
|
||||
document.getElementById("antwort").value= "";
|
||||
r = confirm('Antwort löschen?');
|
||||
r = confirm('Antwort löschen1?');
|
||||
if(r) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
@ -13,10 +13,12 @@ function onClickDelete(id){
|
||||
'spalte': 'uaid',
|
||||
'id': id
|
||||
},
|
||||
success: function(result){
|
||||
// document.getElementById("del").innerHTML = "<strong>entfernt</strong>";
|
||||
//Text einblenden geht nicht, da ein Refresh gemacht wird. Dann sieht man den Text nicht
|
||||
}
|
||||
success: function(result) { //we got the response
|
||||
alert(result);
|
||||
},
|
||||
error: function(xhr, status, exception) {
|
||||
console.log(xhr);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user