Ajax, no response
Posted
by
Jeremy Wagemans
on Stack Overflow
See other posts from Stack Overflow
or by Jeremy Wagemans
Published on 2012-11-24T23:00:09Z
Indexed on
2012/11/24
23:03 UTC
Read the original article
Hit count: 184
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';
© Stack Overflow or respective owner