Correct jq_button_to_remote complete handler response var

Symfony docs claim that in the ‘complete’ callback you have access to the response as request.responseText.

From svn

* To access the server response, use ‘request.responseText’, to
* find out the HTTP status, use ‘request.status’.

This has not been my experience. When inspecting the variables in scope, I was only able to find, and subsequently access

XMLHttpRequest.responseText;
XMLHttpRequest.status;

Leave a Reply

You must be logged in to post a comment.