2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by emigrant_tech
0

When using ajax, from your local machine, you need a local web server installed. You cannot open your test file via "file://...". You must open your file using "http://..." since ajax makes http requests. If you are using the "file" protocol instead of the "http" protocol, it will not work.

Also, your ajax request can only be made to files that exist on YOUR own server, not to external/remote servers.

If you do not have a local web server installed, you can try installing WAMP:
http://www.wampserver.com/en/

0

When using ajax, from your local machine, you need a local web server installed. You cannot open your test file via "file://...". You must open your file using "http://..." since ajax makes http requests. If you are using the "file" protocol instead of the "http" protocol, it will not work.

Also, your ajax request can only be made to files that exist on YOUR own server, not to external/remote servers.

If you do not have a local web server installed, you can try installing WAMP:
http://www.wampserver.com/en/

this is very benificial information.
thanks a lot.
i will try this way.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.