[google-appengine] Re: jQuery while doing Ajax call

2009-03-08 Thread Let Delete My Apps
Hi Ritesh Nadhani, I think your code is complex. Can you try another more simple way, for example using the JSON/JSON-P technique? View the source code of my last app: http://pyoohtml.appspot.com/let-delete-my-apps/home . . On Mar 8, 12:49 pm, Ritesh Nadhani wrote: > Hi > > Any idea what might

[google-appengine] Re: jQuery while doing Ajax call

2009-03-08 Thread Ritesh Nadhani
Hmm. I am not sure how JSON would be simpler then XML. Also, some other system use the same XMLRPC without any problem. The problem seems to be that jquery is not serializing the data to actual XML data and thus server is failing with ExpatParse error. Thoughts? On Sun, Mar 8, 2009 at 5:46 AM,

[google-appengine] Re: jQuery while doing Ajax call

2009-03-09 Thread Michael O'Brien
Hi Ritesh, the problem is that specifying dataType: "xml" doesn't tell jQuery it should send the data in XML, just that it should expect XML to be returned from the url. You need to construct the XML yourself and set the contentType option to "text/xml" to actually send your data as XML. http://

[google-appengine] Re: jQuery while doing Ajax call

2009-03-09 Thread Ritesh Nadhani
Aaah, after working over the weekend finally figured it out. Its because jScript does not serialize/desrialize XML objects. So i had to use one of the plugins out there to do the same. Now I can do the XMLRPC calls and it works. On Mon, Mar 9, 2009 at 1:32 AM, Michael O'Brien wrote: > > Hi Rite