Skip to content Skip to sidebar Skip to footer

Jquery Ajax Post Data Is Empty On The Server For Some Clients

I encountered a very peculiar problem and none of the answers I found here solves it. On SOME clients (IE7, IE8) when I post the data using jQuery Ajax, such as: $.ajax({ type

Solution 1:

Try this.. look's like you are sending data object is wrong

data: {"city": cityId }, // If cityID is a string this should do

OR

data: '{"city":"' + cityId + '"}',

There might also be a problem with the way you are sending the url.. Try using a absolute path and check if that works..

Post a Comment for "Jquery Ajax Post Data Is Empty On The Server For Some Clients"