<script type="text/javascript">
//*
jq12(document).ready(function(){
// code to read selected table row cell data (values).
jq12("#tableID").on('mousedown','.btnSelect',function(){
// get the current row
var currentRow=jq12(this).closest("tr");
var col1=currentRow.find("td:eq(1)").text();
var data=col1+"\n";
});
//*
</script>