![]() |
HTTP Post Request and Response Displaying Problem
I've been working on a bit of code for a while now and I finally got it to work by testing it in an HTML file locally. I'm using an
HTTP Post to send information to a sever that is set up to send a response back to me. I am using the following code to send the required fields, but it doesn't want to display the response in my DIVs after I've uploaded it to my web hosting. I have some PHP modules installed that should allow the XMLHttpRequest to work (HTML_Ajax and some others.) Basically I need a new set of eyes to look at this and see if there are any errors, or if I need to ask another question: "Why isn't my web hosting allowing my to show my responseText when it says that Ajax is compatible?"Code:
<!DOCTYPE html> |
Your webhost won't be doing anything. This hasn't a thing to do with server side languages, this is AJAX so it is governed completely by the client.
Since this has nothing to do with PHP, and the script you are attaching to is ASP anyways, moving to AJAX forum. |
Several questions:
1 - Did you intentionally put "false" as a third paramter to .open()? You should immediately set it to "true" 2 - Is http://www.ssicat.com the same domain, sub domain and protocol the current page has been served from? I am asking this because otherwise it would be a cross domain request that would require the server to send a specific resonse header (Access-Control-Allow-Origin) in order to allow requests from other origins :-) |
Quote:
Quote:
We received extremely little help (for beginners) from the distributor. They gave us this site: http://www.ssicat.com/smart/Updates....GetItemDetails and that was basically it. I guess I really am just looking for a way to use either HTTP Post or SOAP. Although, I don't really understand SOAP either. Any help is greatly appreciated. |
What are the little stars for? Are they snowflakes..?
|
| All times are GMT +1. The time now is 05:48 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.