<script type='text/javascript'>
function refresh(param){
var XMLHttpRequestObject = false;
if (window.XMLHttpRequest)
XMLHttpRequestObject = new XMLHttpRequest();
else if(window.ActiveXobject)
XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP");
if (XMLHttpRequestObject)
{
XMLHttpRequestObject.open('GET','handler.php?alb='+param);
XMLHttpRequestObject.onreadystatechange = function(){
if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200){
document.getElementById('result').innerHTML = XMLHttpRequestObject.responseText;
}
}
XMLHttpRequestObject.send(null);
}
}
</script> |