dealmaker
08-13-2005, 06:13 PM
Hi,
I am doing some kind of table of content/indexing on my website. Once the visiter chooses one of the sub-pages in my website, it will traverse of this sub-page and load some of the elements in that sub-page. But it all happens without loading a totally new page.
I am trying to do it in AJAX. AJAX can return either responseText or responseXML. But I can't use responseXML because it's for xml and my pages are in html. I can't use responseText neither because I want to traverse the dom tree in those sub-page.
So how do I do it?
Many thanks.
I am doing some kind of table of content/indexing on my website. Once the visiter chooses one of the sub-pages in my website, it will traverse of this sub-page and load some of the elements in that sub-page. But it all happens without loading a totally new page.
I am trying to do it in AJAX. AJAX can return either responseText or responseXML. But I can't use responseXML because it's for xml and my pages are in html. I can't use responseText neither because I want to traverse the dom tree in those sub-page.
So how do I do it?
Many thanks.