Welcome Guest, Not a member yet? Register   Sign In
jquery post
#11

[eluser]pickupman[/eluser]
How's that data look coming back, or supposed to look like. You should be echo json back from your controller. When you return json, you need to specify the 4th param 'json'.
Code:
$.post('url', {params}, function(data){}, 'json');

What do you see in firebug?


Messages In This Thread
jquery post - by El Forum - 10-08-2010, 05:01 AM
jquery post - by El Forum - 10-08-2010, 07:47 AM
jquery post - by El Forum - 10-08-2010, 08:00 AM
jquery post - by El Forum - 10-08-2010, 09:11 AM
jquery post - by El Forum - 10-08-2010, 12:11 PM
jquery post - by El Forum - 10-08-2010, 09:31 PM
jquery post - by El Forum - 10-08-2010, 09:34 PM
jquery post - by El Forum - 10-08-2010, 09:40 PM
jquery post - by El Forum - 10-08-2010, 09:58 PM
jquery post - by El Forum - 10-08-2010, 10:02 PM
jquery post - by El Forum - 10-08-2010, 10:04 PM
jquery post - by El Forum - 10-08-2010, 10:21 PM
jquery post - by El Forum - 10-09-2010, 12:10 AM
jquery post - by El Forum - 10-12-2010, 10:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB