Results 1 to 7 of 7

Thread: Can't get responseText from an ASP.NET page using XMLHttpRequest in JavaScript

Hybrid View

  1. #1
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Can't get responseText from an ASP.NET page using XMLHttpRequest in JavaScript

    Try browsing straight to the URL in all of your browsers.

    http://localhost:50819/Test/login.as...sword=password

    Do you get what you expect? If you're getting what you expect, then the javascript should work. You may also want to inspect the actual status coming back. If it's not 200, what is it?

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Jul 2006
    Posts
    219

    Re: Can't get responseText from an ASP.NET page using XMLHttpRequest in JavaScript

    I get a response with status 200 if I browse to it, so there appears to be nothing wrong with my server code either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width