怎样取得表格中的某一行,在线等,急!!
我的表格是这样子的:
<div id= "imagesList " style= "height:210px;width:100%;overflow-x:auto;overflow-y:scroll; ">
<display:table name= "images " id= "imagesTable " class= "dataTable " >
<display:column property= "fileID " title= "id " class= "hidden " headerClass= "hidden " media= "html "/>
<display:column property= "name " title= "Name " />
<display:column title= "Dimensions "> ${imagesTable.imageWidth}X${imagesTable.imageHeight} </display:column>
<display:column title= "Brands " property= "applicability.brands " decorator= "com.versata.fdds.maint.ui.decorator.BrandsSetDecorator " style= "width:255px; "/>
<display:column property= "file.fileSize " title= "Size(bytes) " />
</display:table>
</div>
现在需要在页面上点击表格的某一行时,弹出message框显示刚才选择的是表格的第几行。这边用的displayTag,哪位高手能够给点源代码?怎么解决?在线等!
------解决方案--------------------List[i].****
------解决方案--------------------看看是怎么加javascript的