版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41650354/article/details/82768433
jsp
status在<s:iterator>中
<tr onclick ="trOnClick(this)" onmousemove="trOnClick(this)" id = "tr_<s:property value="#status.index+1/>">
js
function trOnClick(trObj){
autoSelectRow(trobj.parentNode.rows,'tr_',ytobj.sectionRowIndex);
}