Results 1 to 3 of 3
Feb 11, 2008, 23:39 #1
I apologize if this has been discussed before, but my searches couldn't find it.
Feb 11, 2008, 23:54 #2
- Join Date
- Jan 2007
- Christchurch, New Zealand
- 101 Post(s)
- 4 Thread(s)
About the best yu will do with that technique is
document.body.innerHTML = newpage;
A much better way will be to not use AJAX and have the server show the new page instead.
Feb 12, 2008, 03:15 #3
It might be better not to use Ajax in this case, but I think I'll dig on the server side and get smaller elements to replace in the page.
The problem is that for each request, there are several points of the page that should change, I'd probably have to parse some XML.