Skip to content Skip to sidebar Skip to footer

Jquery .ajax() Return Error 0

I wrote javascript in index.html with a login form. When I submit, I call a web service remotely to a server running IIS7. I get back a response when I run it with 'Live Code' in D

Solution 1:

Debugging ajax issues can seem complicated, but if you remember that you're just sending off a URL debugging becomes easier. When dealing with these sorts of problems I use the Firefox "Live HTTP Headers" extension to see the URL with the CGI paramters that are being sent to the server. I'd imagine that this could be quite helpful when running code generated by a system like Dreamweaver.

You can then just plug your ajax URL into your browser (or wget) and see what comes back. Or if I'm writing the backend code also (usually the case) I can print out debugging status messages to help to identify the problem.

good luck!

Post a Comment for "Jquery .ajax() Return Error 0"