<logic:present name="aq2016Entity" property="aq2017Entitys">
<logic:iterate id="aq2017Entity" name="aq2016Entity" property="aq2017Entitys" indexId="indexId">
<bean:define id="aq2018Flag" name="aq2017Entity" property="aq2018Flag" type="String"/>
<table width="100%" class="result" border="1" align="center" cellpadding="0" cellspacing="0" vspace="0">
<tr>
<td width="20%" align="center" bgcolor="eeeeee"><font color="#333333">根原因名称:</font></td>
<td width="80%" height="25" align="left" id="aq2017Entity_gyyid" >
<strong><font color="#004499"><bean:write name="aq2017Entity" property="reasonName" filter="false"/></font></strong>
</td>
</tr>
<% if(aq2018Flag!=null&&aq2018Flag.equals("false")){%>
<tr>
<td align="center" bgcolor="eeeeee"><font color="#333333">事实与分析:</font></td>
<td height="25" align="left" class="wrap"><bean:write name="aq2017Entity" property="reason_desc" filter="false"/></td>
</tr>
<%}else{%>
<tr>
<td align="center" bgcolor="eeeeee"><font color="#333333">事实与分析:</font></td>
<td height="25" align="left" class="wrap"><bean:write name="aq2017Entity" property="reasonOptions" filter="false"/></td>
</tr>
<%}%>
<tr>
<td height="5" align="center" bgcolor="#FFFFFF" colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</logic:iterate>
</logic:present>==================================================
function addEventInvestigate() {
//alert(document.forms[0].scene_id.value) ;
var str =document.forms[0].sceneId.value;
var str1=document.getElementById("scene_id_wxysbid").innerText;
// var str3=document.getElementById("aq2017Entity_gyyid").value;
// var str3=document.getElementById("aq2017Entity_gyyid").innerText;
document.forms[0].operate.value="toAddEventResult";
document.forms[0].submit();
}怎么在这里取出 根原因名称 的值 也就是bean:write name="aq2017Entity" property="reasonName" filter="false"/></font>里的值
<logic:iterate id="aq2017Entity" name="aq2016Entity" property="aq2017Entitys" indexId="indexId">
<bean:define id="aq2018Flag" name="aq2017Entity" property="aq2018Flag" type="String"/>
<table width="100%" class="result" border="1" align="center" cellpadding="0" cellspacing="0" vspace="0">
<tr>
<td width="20%" align="center" bgcolor="eeeeee"><font color="#333333">根原因名称:</font></td>
<td width="80%" height="25" align="left" id="aq2017Entity_gyyid" >
<strong><font color="#004499"><bean:write name="aq2017Entity" property="reasonName" filter="false"/></font></strong>
</td>
</tr>
<% if(aq2018Flag!=null&&aq2018Flag.equals("false")){%>
<tr>
<td align="center" bgcolor="eeeeee"><font color="#333333">事实与分析:</font></td>
<td height="25" align="left" class="wrap"><bean:write name="aq2017Entity" property="reason_desc" filter="false"/></td>
</tr>
<%}else{%>
<tr>
<td align="center" bgcolor="eeeeee"><font color="#333333">事实与分析:</font></td>
<td height="25" align="left" class="wrap"><bean:write name="aq2017Entity" property="reasonOptions" filter="false"/></td>
</tr>
<%}%>
<tr>
<td height="5" align="center" bgcolor="#FFFFFF" colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</logic:iterate>
</logic:present>==================================================
function addEventInvestigate() {
//alert(document.forms[0].scene_id.value) ;
var str =document.forms[0].sceneId.value;
var str1=document.getElementById("scene_id_wxysbid").innerText;
// var str3=document.getElementById("aq2017Entity_gyyid").value;
// var str3=document.getElementById("aq2017Entity_gyyid").innerText;
document.forms[0].operate.value="toAddEventResult";
document.forms[0].submit();
}怎么在这里取出 根原因名称 的值 也就是bean:write name="aq2017Entity" property="reasonName" filter="false"/></font>里的值
解决方案 »
- 讨论关于javascript是的定义类的问题
- string是关键字吗?为何可以当作变量名呢?
- 问个Js的简单问题
- javascript+asp.net验证用户名和密码
- 求助jscript高手,如何维持网页中选择的内容不失去焦点?
- 关于import的问题
- 谁有csdn的html编辑器,100相送!!!!!!!!!!!!!!!
- 没有指定一个div块的top,left等属性,如果取得该div块的top,left属性。
- 高手快来,一个关于SELECT的问题?
- 请教孟兄:type=file的oncut事件应该怎么用
- javascript 得到自适应高度后的高度
- Ext.getDom('uploadFile0').outerHTML 为什么返回的是undefind
另外:innerText 是IE Only的
aq2017Entity_gyyid这个id你从哪儿得到的??
得到的值为: <STRONG><FONT color=#004499><BEAN:WRITE property="reasonName" name="aq2017Entity" filter="false" /></FONT></STRONG>