Dan
Dan

Reputation: 11

Is it still necessary to check if a visitor's browser supports Ajax?

If I have Ajax code on my website:

1) Is it still necessary to check if a user's browser supports Ajax? Don't they all?

2) if so, is there an non-ActiveX approach to check this? I'd really like to avoid ActiveX as some security filters could flag it as potential malware.

Upvotes: 1

Views: 159

Answers (1)

devdigital
devdigital

Reputation: 34349

It's not a question of if browsers support 'ajax', this is just a pithy term used to describe the process of a client retreiving data from a server via Javascript, typically asynchronously, and typically using the XMLHttpRequest object.

This object is not defined by IE 5-6, so you have to write code to compensate, or use a library such as jQuery which encapsulates this.

So, what you should be asking is whether your site gracefully degrades if Javascript is not available on the client. i.e. can users still get to the content without Javascript?

Upvotes: 1

Related Questions