Detecting Ajax Support
11
check if your browser/javascript supports Ajax.
For this we can use prototype's getTransport method.
For this we can use prototype's getTransport method.
if (Ajax.getTransport()) {
//supports ajax
}else{
alert('Ajax not supported')
}






Regards,
Kumar S
GuyFromChennai.com
The code you have provided merely tests if support for that version of AJAX will work in the browser, rather than if AJAX works at all, as there are multiple methods of making use of AJAX.
It's a nice bit of code to know, but maybe you should amend the title of your snippet?