Detect AJAX support for non-AJAX browsers...?
Posted: Tue Apr 01, 2008 11:55 am
Yes I understand that except for some guy on a 14K modem connected to his Commodore 64 computer living on some far off north Canadian island may be the only person alive using Netscape 6 or Opera 8.01, however I still would like to figure out how to correctly test for AJAX support in such browsers. I am currently using Opera 7.54 (my site roughly supports 4.0+ as well as IE4). I'm not spending much time in these older browsers but I find the challenge fun. 
So there are multiple objects to test for but the tests I've tried don't seem to work in Opera 7.54...
I don't want to do anything too fancy, just an alert for either/or supported or not. Yes I know I'm
but this is not an April fools joke. 
So there are multiple objects to test for but the tests I've tried don't seem to work in Opera 7.54...
Code: Select all
if (XMLHttpRequest) {alert('yes');}else if (!XMLHttpRequest) {alert('no');}