为何ajax调用form中元素会出错
<form id= "form1 " runat= "server ">
<table>
<tr>
<td id= "test "> </td>
</tr>
</table>
</form>
var req = null;
function processReqChange()
{
if(req.readyState == 4 && req.status == 200)
{
var dobj = document.getElementById( "test ");
dobj.innerHTML = req.responseText;
}
else
{
var dobj2 = document.getElementById( "test " );
dobj2.innerHTML = "test ";
}
}
function getResponse(url)
{
if(window.XMLHttpRequest) {
try { req = new XMLHttpRequest();
} catch(e) { req = false; }
} else if(window.ActiveXObject) {
try { req = new ActiveXObject( 'Msxml2.XMLHTTP ');
} catch(e) {
try { req = new ActiveXObject( 'Microsoft.XMLHTTP ');
} catch(e) { req = false; }
}
}
if(req) {
&nbs