Hi,
Can't seem to load any data from my php page into my edge animate.
Here is my code:
.ajax({ url: 'http://server-x:7890/db.php',
dataType: 'json',
success: function(data)
{ sym.$("Output1").html(data);
}
});
so I tried to debug it by changing it to
.ajax({ url: 'http://server-x:7890/db.php',
dataType: 'json',
success: function(data)
{ sym.$("Output1").html("Help");
}
});
And getting nothing. I can write successfully with sym.$("Output1").html("Help") outside Ajax function.
My db.php works successfully and returns
"Ajax." -- in my crome browser
Anyone know what could be wrong?