i need to send to server 50 bytes of data and receive 200 bytes in response
without reloading a page.
How can i do it?? What is the most crossbrowser way??
i need to send to server 50 bytes of data and receive 200 bytes
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t want to use a library, take a look at this page. Nice info to make your ajax call cross browser.
And, if the data is binary, encode it
This is a snippet copied verbatim from ajax for N00bs (I strongly suggest you to read not only that post, but all of them in that site):