Welcome Guest, Not a member yet? Register   Sign In
jQuery Ajax and getting the data
#3

(This post was last modified: 01-12-2016, 04:29 AM by keulu.)

Hi,

I had the same problem but with angular. So i think that's not a jQuery problem.

oddly, every ajax post was null in CI for me (angular or jQuery). But i found a solution

try to add a Content-Type

(in angular, i do $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';)

it's solved my problems
Reply


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 keulu - 01-12-2016, 04:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB