Hooda Vikas commented on Jul 9, 2014

Re: Integrating Ajax into traditional IBM Lotus Domino Web applications

I have a Web Application where i am using this code, the AJAX code above is not working in Internet Explorer 10 but working fine in Internet Explorer 8. Can somebody suggest me what changes are required to be made in code in order to make it work on IE10?

TIA Vikas.

Kenneth Axi commented on Jul 14, 2010

Integrating Ajax into traditional IBM Lotus Domino Web applications

I also see a minor flaw in the code... If the agent returns the error "result = "Error: did not find document for that employee""

then the JavaScript will not produce an ARRAY with three items and the code will fail when You try to access array[1] and array[2]. You therefore must process the JavaScript to check for the error first before creating the array.

Kenneth Axi commented on Jul 14, 2010

Integrating Ajax into traditional IBM Lotus Domino Web applications

It is unnecessary complicated to process the agent result with JavaScript when You have this format in the response from the agent:

Response Text

Instead; Change the format of the result to a TRUE XML response by changing the output in the agent:

Print |Content-Type:text/xml| & Chr$(13)

Print result

This will override the default creation of HTML tags and You will now have absolute control over the response text. It can now be only text or XML formatted response. This will make it MUCH easier to process the xmlHttp.responseText() - not necessary to use indexOf etc... just process the text as-is!

jaggu eedara commented on Jun 5, 2010

Integrating Ajax into traditional IBM Lotus Domino Web applications

Nice Info... regarding AJAX in DOMINO

Thanks alot, its helping me alott!!