Question: This maybe simple, but cant seem to figure it out. Using jquery datatables how can I make each row clickable to just link to a normal page? So if someone moused over any of the row the whole row will hightlight and be clickable and link to whatever url I would want it to link to when clicked.

Answer: 
\*\*I have used a simple solution for this. Add onclick on tr and you are done. Tested with jquery datatable \*\*

```
<tr  onclick="link(<?php echo $id; ?>)">

function link(id){
  location.href = '<?php echo $url ?>'+'/'+id;
   }

```
Recently I had to deal with clicking a row in datatables. 

```
$(document).ready(function() {
    $("#datatable tbody tr").live( 'click',function() {         
    window.open('http://www.example.com');

    } );
} );

```