DelanoSimpson
12-31-2009, 08:43 AM
Hi John,
Tried to implement your suggested change, but I get an error on IE - "document.getElementById(...)" is null or not an object
function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
document.getElementById(containerid).scrollTop=0;
}
It is located in a scrollable div with id=maincontent and I tried changing the additional line to reflect that, but still no luck.
Can be viewed at http://www.kirtonauction.co.za/
Tried to implement your suggested change, but I get an error on IE - "document.getElementById(...)" is null or not an object
function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
document.getElementById(containerid).scrollTop=0;
}
It is located in a scrollable div with id=maincontent and I tried changing the additional line to reflect that, but still no luck.
Can be viewed at http://www.kirtonauction.co.za/