17 lines
372 B
JavaScript
Raw Normal View History

2016-10-16 21:53:15 +02:00
function neueCharge(){
/*der Server stellt die n<>chste Charge zur Verf<72>gung*/
$.ajax({
dataType: "json",
url: '/chargen',
type: 'NEXT'
})
.done(function(newCharge){
charge_data = eval("(" + newCharge + ")");
los('1');
document.getElementById('los_nr').value = 1;
})
.fail(function(error){
alert("R<>ckgabe von NEXT fehlerhaft");
});
};