my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes AJAX readyState not working in Netscape navigator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "AJAX readyState not working in Netscape navigator" Watch "AJAX readyState not working in Netscape navigator" New topic
Author

AJAX readyState not working in Netscape navigator

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Hi all, I am Chaitanya, I am having a serious problem with AJAX and Netscape browser.

The following code is working fine with IE, Chrome, Firefox, Safari, Opera, Maxthon.

I am able to make a xmlhttp request in all browsers including netscape. But the readyState is not working with netscape. It is only showing 1. The state is not shifting from 1 in netscape.

Can anyone help me fix this problem?

Thank you in advance.


Love all, trust a few, do wrong to none.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

Netscape Navigator? Why are you even supporting such an antiquated browser? There's likely nothing you can do about it.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Bear Bibeault wrote:Netscape Navigator? Why are you even supporting such an antiquated browser? There's likely nothing you can do about it.


Hi Mr. Bear, I am working on a project with my friends. I am supposed to take care of the web designing part and AJAX calls. I am testing my application in all browsers. Because there may be many people using Netscape. So we are trying to provide support for as many as possible browsers.

Thank you.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

Netscape Navigator is way too old to even bother supporting. Forget about it.

Most web trends don't even track it as its usage numbers are too low, and it was end-of-lifed 4 years ago.

Surely you have something better to be spending your time on.
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

@Bear: I am testing it on Netscape 9. Is it possible in Netscape?
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Bear Bibeault wrote:Netscape Navigator is way too old to even bother supporting. Forget about it.

You mean most of the users wont use Netscape? If so, I will agree with you because you are more experienced than me and thank you Mr. Bear

PS:
Is it really not possible to make AJAX calls on Netscape?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

We just finished writing a section for Secrets of the JavaScript Ninja on how to choose which browsers are worth supporting.

Netscape doesn't even come close to making the cut for any scenario.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
I think Bear isn't saying that most users are not using Netscape, he's saying that nobody is using Netscape at this point. And I concur: I can't even remember when the last time might have been that I heard about somebody using it; must be at least 6 years or so.


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

The last remaining Netscape user:


chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

@Mr. Ulf Dittmer & Mr. Bear: Thank you both for helping me. I will do as you said. I will keep Netscape aside and try provide support for rest of the browsers I mentioned earlier.

@Mr. Bear: Sorry to say that I don't have a credit card to purchase the book online. And I cant get the book in the place where I reside. I will sure purchase a copy soon.

Thank you both.
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Bear Bibeault wrote:The last remaining Netscape user:



Funny, I think, I'm the last person providing support for Netscape.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

An extremely simplified overview of the process:
  • Determine the benefit of supporting the browser -- usually tied to usage (this is something you apprently did not do)
  • Determine the cost of supporting the browser (very high in this case because it is so old and buggy)
  • Weigh the two values against each other (along with any other domain-specific creiteria)


  • When doing the above process, usually older browsers like Netscape and IE 6 fall off the cliff really really fast.
     
    Don't get me started about those stupid light bulbs.
     
    subject: AJAX readyState not working in Netscape navigator
     
    Similar Threads
    Sequence of steps executed in Ajax call
    Multiple AJAX requests
    strange problem with plain ajax
    Page section does not update after call of a4j:support in IE 9
    AJAX response to a Restful Jersey Resource