How we can send more values through the response text?



How we can send more values through the response text?..

Answer / Moh Sharif Khan

To send multiple values in a single AJAX response, you can serialize your data as JSON (using JSON.stringify()) and set it as the responseText or responseData of your XMLHttpRequest object. On the client side, parse the response using JSON.parse().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AJAX Interview Questions

What is the difference between json and ajax?

1 Answers  


Can we call server-side code from javascript? : asp.net ajax

1 Answers  


How to handel error in ajax?

1 Answers  


Explain limitations of ajax.

1 Answers  


What are the new controls introduced in asp.net ajax control toolkit? : asp.net ajax

1 Answers  


What are limitations of ajax?

1 Answers  


Whattrigger will fire initially by using update panel?

1 Answers  


Does ajax have the same meaning as xmlhttprequest?

1 Answers  


What are all the controls of Ajax?

1 Answers  


What is the difference between a destructor and a garbage collector?

1 Answers  


Would we be able to settle the updatepanel controls?

1 Answers  


Will html_ajax integrate with other javascript ajax libraries such as scriptaculous?

1 Answers  


Categories