Here is a very basic ajax script:
function doAjax(url, args){
var retVal = $.ajax({
type: "GET",
url: url,
data: args,
async: false
}).responseText;
return retVal;
}
|
This will pass the following url: "localhost:8080/inc/fv.svc.php?id=150001&fv=Test1"
The fv.svc.php script will get and parse the request properly with a return value of something like "Invalid User Credentials", or another message. What is always being displayed in the browser is:
<html><body><h1>SRV Server:</h1><br>
Document Contains no data.
</body></html> |
If I put this url and args in a separate browser, I always get the same response. It must somehow be a problem with the local NuSphere server. Can anyone help with this?