function chk(){
var param1 = document.getElementById("控件ID");
}
if (http_request.readyState == 4) {
if (http_request.status == 200) {
alert(http_request.responseText);
} else {
alert('您请求的页面发现错误');
}
}
var callbackHandler = chk(obj);
xmlHttp.onreadystatechange = callbackHandler;