T
theGirl
Hi,
Sorry for my english, I'm french !
I 'm using Ajax to build pages with xml files.
In my page, I want to have 2 doms for the same xml file : one for the
initials datas, ant another which will be modified by the web page.
When the user validate the page, the second dom is is copied into the
first.
So I have :
xmlDoc1 = http_request.responseXML;
xmlDoc2 = http_request.responseXML;
In my page, I have javascript code that modify nodes of the xmlDoc1,
but the xmlDoc2 is modified also, but I don't want this dom to be
modified !
What is the problem with my code ?
Thank you for your help
Sorry for my english, I'm french !
I 'm using Ajax to build pages with xml files.
In my page, I want to have 2 doms for the same xml file : one for the
initials datas, ant another which will be modified by the web page.
When the user validate the page, the second dom is is copied into the
first.
So I have :
xmlDoc1 = http_request.responseXML;
xmlDoc2 = http_request.responseXML;
In my page, I have javascript code that modify nodes of the xmlDoc1,
but the xmlDoc2 is modified also, but I don't want this dom to be
modified !
What is the problem with my code ?
Thank you for your help