[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Ritesh Nadhani
Aha. Thanks. I googled more: http://www.mail-archive.com/jquery-en@googlegroups.com/msg04570.html On Mon, Mar 9, 2009 at 4:27 PM, Karl Rudd wrote: > > Not sure what's happening. I think "data" is actually a string, so you > might have to convert it to XML nodes before you can search it. I > cou

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Karl Rudd
Not sure what's happening. I think "data" is actually a string, so you might have to convert it to XML nodes before you can search it. I could be wrong though. Karl Rudd On Tue, Mar 10, 2009 at 10:23 AM, Ritesh Nadhani wrote: > > Thanks. > > I had look into that first link earlier but I had hop

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Ritesh Nadhani
Thanks. I had look into that first link earlier but I had hoped that there would be a simpler solution. Anyway, I tried using that code and even though I am getting XML like: http://paste.pocoo.org/show/107174/ from my XMLRPC server, the jquery selector is never satified and ret.result is always

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Karl Rudd
jQuery "consumes" JSON fairly well but you'd need a plugin/other functionality (like from json.org or that RPC plugin) to "produce" JSON. Karl Rudd On Tue, Mar 10, 2009 at 4:00 AM, Ritesh Nadhani wrote: > > Aha. > > And I though I was doing something wrong. That clears up lot of things. > > PS:

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Ritesh Nadhani
Aha. And I though I was doing something wrong. That clears up lot of things. PS: Does jQuery has better support for json? I can modify my XML-RPC to JSON-RPC. On Sun, Mar 8, 2009 at 9:44 PM, Karl Rudd wrote: > > jQuery doesn't include XML serialisation in it's core. A quick search > of the plu

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-08 Thread Karl Rudd
jQuery doesn't include XML serialisation in it's core. A quick search of the plugins repository came up with two projects that might help (there may be more): RPC http://plugins.jquery.com/project/rpc The is rpc(remote procedure call) client implementation based on JQuery. It creates an rpc objec