/s:iterator
现在要修改iterator的value值,在js里面用ajax调用
var xmlHttp;
try{
xmlHttp=new XMLHttpRequest();
}
catch (e){
// Internet Explorer
try{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e){
try{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e){
}
}
}
var url="test.action";
xmlHttp.open("GET", url,true);
xmlHttp.onreadystatechange = function(){
alert(xmlHttp.readyState);
if (xmlHttp.readyState == 4) {
document.getElementById("bankVo").value=xmlHttp.responstText;
}
};
xmlHttp.send(null);
结果报document.getElementById(..)为空或不是对象..怎么解决呢?