<%
for( int i = 0 ; i < onuResInfoList.size(); i++ ) {
%>
<tr <% if (flag) {out.print("bgcolor=\"EFF4CA\"");} %>>
<td width="5%" height="22"><div align="center">
<input type="radio" name="resRadio" value="<%=devID+"$"+reses.getRes_id()+"$"+ res.getRes_code() %>" />
</div>
</td>
<%
}
%>
js对查找选中的Radio
function getRadioValue(){
var arr = document.getElementsByName("resRadio");
var checkedId ;
var radioValue ;
for(var i=0;i<arr.length;i++){
if(arr[i].checked){
radioValue = arr[i].value;
checkedId = i;
}
}
return radioValue+"$"+checkedId;
}
var value = getRadioValue();
var devid = value.substring(0,value.indexOf("$"));