在Struts标签中.div不能用 ?   function ajaxSubmit(id){
//创建XMLHttpRequest对象
var xmlhttp;
try{
xmlhttp=new XMLHttpRequest();
}catch(e){
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
//创建请求结果处理程序
xmlhttp.onreadystatechange=function(){
if (4==xmlhttp.readyState){
if (200==xmlhttp.status){
var text=xmlhttp.responseText;
alert(text);
document.getElementById("conUseDIV").style.display='';
document.getElementById("conUseDIV").innerHTML=text;
}else{
alert(xmlhttp.status);
}
}
}
//打开连接,true表示异步提交
xmlhttp.open("post", "<%=path%>/gis/maintainbuild/getConUse.do?id="+id, true);
//发送数据
xmlhttp.send();
}
</script>
<body >
<html:form action="/gis/maintainbuild/editroom" method="post" onsubmit="return insert_onclick();">
  <TABLE ALIGN=center valign=top BORDER=1 CELLSPACING=0 CELLPADDING=0
style="border-collapse: collapse" bordercolor="#96a8bc" width=100%>
<tr align=center valign=middle height=18>
<td class="table_name" width=100% colspan=2
background="../images/model-title-bg.gif">
<logic:present name="buildingName">
${buildingName }---${drform.dr.roomName}</logic:present>房间信息
</td>
</tr>
<tr align=center valign=middle height=18>
<td width=35% bgcolor=e6f0f9>
房间名称
<font color=red>*</font>
</td>
<td width=65%>
<html:text property="dr.roomName"
style="width: 100%; height: 100%; ime-mode: disabled;" readonly="${drform.dr.roomNo eq null?'false' : 'true'}"></html:text>
</td>
</tr>
<tr align=center valign=middle height=18>
<td width=35% bgcolor=e6f0f9>
房间类型
<font color=red>*</font>
</td>
<td width=65%>
<html:select property="dr.roomType"
style="width: 100%; height: 100%;">
<option value="">
请选择
</option>
<logic:present name="typecodes">
<logic:iterate id="t" name="typecodes">
<option value="${t.id }" ${t.id eq drform.dr.roomType ? "selected" : "" }>
${t.codeValue }
</option>
</logic:iterate>
</logic:present>
</html:select>
</td>
</tr>
<tr align="left" valign=middle height=18>
<td width=35% bgcolor=e6f0f9 align="center">
房间用途
<font color=red>*</font>
</td>
<td width=65%>
<html:select property="dr.roomUse"
style="width: 100%; height: 100%;" onchange="javascript:ajaxSubmit(options[selectedIndex].value);">
<option value="">
请选择
</option>
<logic:present name="usecodes">
<logic:iterate id="u" name="usecodes">
<option value="${u.id }" ${u.id eq drform.dr.roomUse ? "selected" : "" }>
${u.codeValue }
</option>
</logic:iterate>
</logic:present>
</html:select>
</td>
</tr>
<div id='conUseDIV' style="display: none"></div>

<tr align=center valign=middle height=18>
<td width=35% bgcolor=e6f0f9 colspan="2">
<center>
<html:submit styleClass="btn" value="保 存" onclick="return editRoom_onclick();">
</html:submit>
</center>
</td>
</tr>
</table>
</html:form>
为什么我把这个div放到html:form中之后就用不了.拿出来就可以  要怎么解决这个问题 ?