質問
trouble with animate cc html5 and php
I have a code in animate like this:
$.ajax({
type: "POST",
url: stage.path + 'php/s1.php',
data: "Pippo",
success: function (data) {
alert(data)
}
})
and the file php like this:
<?php
$var=$_POST["var1"];
echo $var;
?>
The code never show the alert....
