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 jQuery throws an error before initiating the ajax call if I set the property 'processData: false' in the initialisation. For reference, the test xml is constructued as follows: var xml = "<menu><menuItem name='Item 1' /><menuItem name='Item 2' /></ menu>"; On May 9, 5:28 pm, andrea varnier <[EMAIL PROTECTED]> wrote: > 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 serverside script gives the correct answer? > and what about the xmlString you're sending via post? is it exactly > what the server is expecting? > > :)