[jQuery] Re: Ajax: Posting Xml Data

2008-05-09 Thread NeilM
Thanks Mike, That helps a lot. I have modified the code back to a more 'default' setting and have found that all I needed to do was encode the xml string (using the escape() method) and then, of course decode the string on the server. If I don't encode/escape the xml, I get an ajax call error.

[jQuery] Re: Ajax: Posting Xml Data

2008-05-09 Thread Mike Alsup
> What seems odd is that jQuery throws an error before initiating the > ajax call if I set the property 'processData: false' in the > initialisation. I think you've misunderstood the use of the processData option. That option lets the ajax function know whether it should convert the data arg to

[jQuery] Re: Ajax: Posting Xml Data

2008-05-09 Thread NeilM
Yes, the xml structure at this stage (testing) is very simple, but the page throws and error before it gets to look at the data. The server returns a json string of the format {status: "success"} or {status: "error"} which would then be processed by the 'success' script. What seems odd is that j

[jQuery] Re: Ajax: Posting Xml Data

2008-05-09 Thread andrea varnier
On 9 Mag, 17:17, NeilM <[EMAIL PROTECTED]> wrote: > success : function(data) { > // Process data here > } what is this function supposed to do? it seems that it doesn't get the correct data (like the data var is empty or something). are you sure that your serversid