Skip to Content
0
Former Member
Apr 05, 2004 at 12:32 PM

Getting selected row from a table using javaScript

148 Views

Hello I tried to implement an onClientRowSelection event on my TableView. But until now the javaScript is not even called. I need to get the selected Row from my TableView.

This is what I wrote until now:

The javaScript:

<script language="javascript" type="text/javascript">

function tableSelect(){

alert('abcdef');

}

</script>

The jsp:

table.setOnClientRowSelection("tableSelect");

Thanks for any suggestions.