Menu

Getting Status in onComplete

Help
Nulldagger
2007-01-05
2013-04-02
  • Nulldagger

    Nulldagger - 2007-01-05

    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.

     
    • Carlos Eduardo Goncalves

      When you define a function as onComplete handler it will receive a XmlHttpRequest object as parameter. It is described very clearly on documentation.

       
    • Nulldagger

      Nulldagger - 2007-01-10

      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.

       
    • Carlos Eduardo Goncalves

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.