how to open a new page by clicking on a table element [closed]

1

How do I select a row in the datatables and open the content in more detail by an ID.

I have a table with the following structure

name, id, address, user.

with values.

When clicking to open a poupop in javascript where a new query is made to a database passing the id as parametero.

    
asked by anonymous 18.08.2015 / 16:22

1 answer

0

You can use the HTML feature itself, as shown below:

<table>
<tr onclick="window.location='página destino aqui'">
<td></td>
</tr>
</table> 
    
19.08.2015 / 14:32