R
Roger (Bordeaux)
Hello everyone,
I have a problem with javascripts that runs correctly under EasyPHP 1.7
but not under EasyPHP 1.8 nor WAMP5 1.6.
I am using the prototype.js library.
I wrote the following :
var url = 'simpleDocument.xml';
var methode = 'get';
var myAjax = new Ajax.Request( url, {method: methode, onComplete:
analyseResponse} );
and further :
function analyseResponse(response) {
alert(response.responseText);
alert(response.responseXML);
}
The following occurs.
alert(response.responseText);
displays correctly the contents of simpleDocument.xml in all cases.
alert(response.responseXML);
displays correctly [object XMLDocument] under EasyPHP 1.7, but 'null'
under EasyPHP 1.8 and WAMP5.
Thanks in advance for your responses.
Best regards,
Roger
I have a problem with javascripts that runs correctly under EasyPHP 1.7
but not under EasyPHP 1.8 nor WAMP5 1.6.
I am using the prototype.js library.
I wrote the following :
var url = 'simpleDocument.xml';
var methode = 'get';
var myAjax = new Ajax.Request( url, {method: methode, onComplete:
analyseResponse} );
and further :
function analyseResponse(response) {
alert(response.responseText);
alert(response.responseXML);
}
The following occurs.
alert(response.responseText);
displays correctly the contents of simpleDocument.xml in all cases.
alert(response.responseXML);
displays correctly [object XMLDocument] under EasyPHP 1.7, but 'null'
under EasyPHP 1.8 and WAMP5.
Thanks in advance for your responses.
Best regards,
Roger