So far, calling the script works fine as well as showing the created output in the lightbox.
What doesn't work is, to send the variable to my php script to work with it.
I used following js code for calling the php script and get the result back:
var name = "Igor";
$name = $_GET["name"];
You're sending the data via POST but are trying to retrieve it using