change comments to use ajax

This commit is contained in:
Hendrik
2017-01-26 12:21:01 +01:00
parent 328f0665f3
commit 91aca6baa7
5 changed files with 30 additions and 18 deletions

View File

@@ -1,8 +0,0 @@
function loadPost(postID) {
$.get(
"API/loadPost.php",
$(postID).serialize()
).done(function (data) {
$('#modal-response').innerHTML= JSON.parse(data);
});
}