[jQuery] Re: Using $.post with complex JSON structures

2008-07-20 Thread Mau
I am having the some problem... obviously, I'm trying to post different data, but structured the same way... and I'm also getting "[object object]" on PHP side... maybe if we bang our heads at same time to wall :) I'll let you know if make it through the wall On Jul 10, 10:07 am, lionstone <[EM

[jQuery] Re: Using $.post with complex JSON structures

2008-07-10 Thread Adam
I'm not sure if I'm understanding clearly, but are you trying to access object parameters in your callback? If so, you would access them like: $.post('spit.php', complexJSON , function(txt){ console.log(txt.title); console.log(txt.playlist.url); } And out would come: abcd url (with no l