Ajax message best practices

Posted by hhj on Stack Overflow See other posts from Stack Overflow or by hhj
Published on 2010-06-07T20:29:53Z Indexed on 2010/06/07 20:32 UTC
Read the original article Hit count: 383

Filed under:
|
|
|

Say I need to use ajax to asynchronously ask the server for an xml file containing relevant data. What is the best practice on what this message should look like? Should it be a string like get_data or something similar? Should it be xml? I don't really need long polling since its a one-time (or close to it) request.

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about Xml