Is there a way to get the http_status_code back in an onComplete function? Need this to test if the page is a 302 return for a redirect.
When you define a function as onComplete handler it will receive a XmlHttpRequest object as parameter. It is described very clearly on documentation.
Which documentation do you refer to? None of the documents that we looked at clearly stated that. We fixed it by relying on the source code.
Are you kidding me aren't you? You should read the documentation with attention and not just look at it.
Log in to post a comment.
Is there a way to get the http_status_code back in an onComplete function? Need this to test if the page is a 302 return for a redirect.
When you define a function as onComplete handler it will receive a XmlHttpRequest object as parameter. It is described very clearly on documentation.
Which documentation do you refer to? None of the documents that we looked at clearly stated that. We fixed it by relying on the source code.
Are you kidding me aren't you? You should read the documentation with attention and not just look at it.