I'm developing a mobile application using jQuery. On Microsoft Azure, I have an Asp.Net handler .ashx file. The webpage is http://gloopt.cloudapp.net/Gloopt.ashx. Basically, the webpage error "Error 1001 Occurred", which I programmed it to return.
When you visit the webpage, you get the error, which is expected. However, if I try to make an Ajax call using jQuery or JavaScript, nothing is returned back. You can test this by going to http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_ajax2 and putting the url to the ashx file.
I am fairly new to Ajax, so I'm not sure what's going on here. I've been looking all over the internet, but can't seem to figure out what's wrong.
Thanks!
UPDATE I'm developing a PhoneGap Android Application. That is where I really plan to use this. I will try to test in the application itself. But do you think it will work?
Are you making the ajax call from the same domain, per the same origin policy http://en.wikipedia.org/wiki/Same_origin_policy?
EDIT: You can see your request being denied using the Console in Firebug http://getfirebug.com/. Install Firebug, browse to the W3School site and run your request. You'll see the request being made and then denied.