Hi Jakob, if I understand the documentation the type parameter is used to tell jQuery how you want to have the data received on the server side. The dataType tells jQuery what kind of data you will be transmitting. (unless I have totaly mis understood it and that would explain my 30 hours of working on it with no result).
regards, Peter On Wed, Jun 3, 2009 at 8:39 AM, Dam <jakob.a....@gmail.com> wrote: > > Hi, > > It's kind of odd what you do: namely input nested JSON data as URI > parameters in a GET request. > It doesn't make sense to URL encode your data that has a nested > object, so probably jQuery skips it. > > URI parameters are only key/value paris. > > POST can be used if you want to include arbitrary data in the body of > a request. > > Maybe something like this instead (assuming you don't want to POST > data on the server) > > $.ajax({ > url: "http://localhost/test/gui/ajax_member.php", > type: "GET", > data: 'mybutt=' + data.mybutt + '&member=' + data.member.name, > cache: false, > dataType: "json", > ... > }) > > regards Jakob > -- Power Tumbling - http://www.powertumbling.dk OSG-Help - http://osghelp.com