jsp代码如下
<l:iterate id="item" name="list" indexId="index"> 
<tr class="<%=index%2==0?"odd":"even"%>">
<td><%=index+1%></td>
<td id="g${index }" name="g${index }" value="${item.name }">
                                       <a href="#this" onclick="getDescription('g${index }')">
                                          <b:write name="item" property="name"/>
                                       </a>
                                    </td>
</tr>
</l:iterate>js代码如下:
function getDescription(b){
var t = document.getElementById(b);
alert(t);
alert(t.value);
window.location.href = "http://gm.idm.uuwatch.com/cluster/hbase/table/describe.do?name="+n;
}在iE中t.value可以出来,可在火狐中t.value就是获取不到,请大侠们看看怎么了?