Hi! I've been working on this thing for hours and I would reeeally appreciate some help... I'm using this Code in my js-File:
function runPosition(the_id, left, top){$.get("test.php?id="+the_id+"&left="+left+"&top="+top, {}, function(position) { alert(position);});}
the_id, left, and top are just parameters which are being delivered to this function by some other function (they are correct) And the test.php looks like this:
<?phpsession_start();$id = $_GET["id"];$top = $_GET["top"];$left = $_GET["left"];$_SESSION[$id] = [$top, $left, $id];return $id;?>
But the alert() is completly empty and I don't understand why... Can u help me? Thanks!