jQuery Ajax and getting the data |
keulu, Thank you so much. After 4 hours of changing things back and forth last night I was about ready to give up. It was the content type, I had contentType: 'application/json'; set in the ajax call, changing it to x-www-form-urlencoded fixed this. Thank you!
Avenirer, the game is currently hosted on the same domain, so there's no cross-origin going on at the moment. But thank you for the reply, I need to bookmark that because eventually the game will run from mobile devices with PhoneGap and will have to do some cross-origin requests. |
Messages In This Thread |
jQuery Ajax and getting the data - by robdoesweb - 01-11-2016, 10:30 PM
RE: jQuery Ajax and getting the data - by Avenirer - 01-12-2016, 01:01 AM
RE: jQuery Ajax and getting the data - by keulu - 01-12-2016, 04:28 AM
RE: jQuery Ajax and getting the data - by robdoesweb - 01-12-2016, 07:09 AM
|