Ajax, no response
- by Jeremy Wagemans
When I try to create a jquery alert coming from an ajaxy query, I don't get any response. Do you know how to fix it ?
jquery:
$.ajax({
type: "GET",
url: "php/submission.php",
success:function(data){
if(data==1)
{
alert("working");
}
}
});
submission.php:
echo '1';