Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8326467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:46:19+00:00 2026-06-09T00:46:19+00:00

I try to access the statusText on a post back to the server when

  • 0

I try to access the statusText on a post back to the server when an error occured. On the server side I’m setting the status text to an error message. StatusCode is 500 and statusText the error description.

Chrome console output inside the Headers section is:

Status Code:500 (big red dot) Error Message: Something went wrong.

But when I try to access the statusText now inside of the .error() function callback there is always the text “error”:

.error(function (xhr, text) {
    alert(xhr.statusText);
});

Is jQuery overwriting this field or how can I access the original values?

Thanks for help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:46:20+00:00Added an answer on June 9, 2026 at 12:46 am

    I think you need to see the 3rd argument to the callback, it should be the HTTP status text. (according to the jQuery API documentation for the error callback)

    function (xhr, ts, err) {
        // ts  => "error", "abort", etc (jQuery-specific)
        // err => HTTP error from server
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The error message I gen when I try to access the web page server
Im getting 500 internal server error everytime I try access my admin or login
Every time I try to access my localhost/phpmyadmin it gives me this error --->
try to access an ldap server from an iis server in a dmz and
I get this error everytime I try to access phpmyadmin. http://i49.tinypic.com/ot1478.jpg I cant access
Everytime I try and access the user profile page, I get this error. ActionView::Template::Error
I try to access session variables stored on a different page. When I have
When try to access site i created after 3 login attempts it gives unauthorised
I try to access the MainContentBlock control from the aspx, but unable to do
When I try to access my site, then check my Heroku logs, I see

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.