Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by pyt on Nov 26, 2008 05:24
open dhtmlx forum
dhtmlxAjax compatibility with v.1.6.

Hi,
i use dhtmlxGrid v.1.6. Now i need to use dhtmlxAjax, so i have replaced my dhtmlxcommon.js with version v.2.0 from dhtmlxAjax.
I have the folowing codes as Test:

var loader = dhtmlxAjax.getSync("/ajax/xml_feed.jsp?action=get_data");
if(loader.xmlDoc.responseXML!=null)
alert("yes!");

But i become this Error:

dhtmlxAjax is not defined

Can you help me?

Thanks in advance!

pyt
Answer posted by Support on Nov 26, 2008 05:42
Please be sure that old version of dhtmlxcommon.js not cached. The dhtmlxcommon.js from 2.0 is backward compatible with earlier version of component, and you need not update anything except of it, to get access to the dhtmlxAjax object