dhtmlxAjax giving error

I have the following code snippet and the response that comes back:

Code:

dhtmlxAjax.get('/bookinghdr/loadbkghdrdata/' + CurrUserID + '?bkghdrid='+currBkgRef, afterLoadbkghdrData);

Response:

<?xml version="1.0" encoding="UTF-8"?>
<data>
  <BkgHdrID>3</BkgHdrID>
  <AgentRef>ar3</AgentRef>
  <ClientContact>cc</ClientContact>
  <DayTel>cdt</DayTel>
  <EveTel>cet</EveTel>
  <MobileNo>cm</MobileNo>
  <Fax>cf</Fax>
  <Email>ceml</Email>
</data>

However BEFORE the system gets to the ‘afterLoadbkghrData’ function it gives the following error message in Firebug:

dhtmlObject.waitCall.call is not a function
[Break On This Error] this.async=true;this.onloadAction=fun…ngth==0 && tagName.indexOf(“:”)!=-1)

Please can you tell me what I’m doing wrong?

If I use a dhtmlxAjax.post function then everything works fine.

Thanks

The problem is not reproduced locally. Please see the sample:

dhtmlxAjax/samples/01_samples_of_usage/01_send_request.html