Hi professionals, I have a problem and it is the following:
Say I have 2 HTML pages. In page A, I want to display part of page B.(content between a div tag pair with ID in B) Now I was able to use the XMLHttpRequest object to get the complete page B, namely, through the reponseText property of the XMLHttpRequest object. But my goal is only part of page B, not the entire page. I tried to use XML DOM tree node methods to extract the wanted part from page B, but it does not work. I think the problem is that page B is a HTML page, not a XML page. Is there a work around on this?
Thank you so much!
The title is messed up... someone please fix it for me if possible.