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