adspace


How we can send more values through the response text?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is ajax a framework?

967


Is json is a programming language?

1007