Topic: Ajax avalability

I replay one question in the forum of one person who need to check the ajax avalability and... i think its easy to determine if it is aval.
Using the $xajax->printJavascript();  whe can put a variable how the determines if the browser have ajax... and in correspond... if it has javascript. I will code a example later an put it here.

Greats !

Re: Ajax avalability

I test my idea and it's work fine but have one problem... te xajax request.. have a short delay time it´s cause that if i call the function xajax need time to change the ajax_aval variable. I test other code in javascript who can determine if ajax is avalible. This code create ajax object using ActiveXObject('Msxml2.XMLHTTP'), or ActiveXObject('Microsoft.XMLHTTP') or  XMLHttpRequest(), and if any of this runs i can determine if ajax runs.
Any Some ideas ?

Re: Ajax avalability

xajax can be used from:
- IE 5+ (except mac)
- Netscape 7+ (the first mozilla based version)
- Mozilla 1.0+ (e.g. firefox, netscape etc etc all use higher builds)
- Opera 7.6+
- Safari 1.2+

hope to help