Hallo erst mal ! ! !
Wieso wird meine Variable
Gruß und euch allen ein schönes Wochenende
Malcom
Wieso wird meine Variable
position
nicht erkannt. In der Console wird Sie korrekt ausgegeben.
PHP:
$( document ).ready(function() {
$.ajax({
type: "POST",
url: "todo_list.php",
data: 'act=list',
success: function(content) {
var res = content.split(";");
for (var i=0; i<res.length; i++) {
position = res[i];
console.log(position);
$('#list').html(position);
}
}
});
})
Gruß und euch allen ein schönes Wochenende
Malcom