# Getting the values of the row when the button of this row is clicked

**URL:** <https://discourse.nodered.org/t/getting-the-values-of-the-row-when-the-button-of-this-row-is-clicked/14050>\
**Category:** General\
**Created:** [6 August 2019 12:55 UTC](https://discourse.nodered.org/t/getting-the-values-of-the-row-when-the-button-of-this-row-is-clicked/14050 "2019-08-06T12:55:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laude](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@Laude](https://discourse.nodered.org/u/Laude)\
**Post date:** [6 August 2019 12:55 UTC](https://discourse.nodered.org/t/getting-the-values-of-the-row-when-the-button-of-this-row-is-clicked/14050/1 "2019-08-06T12:55:26Z")

</div>

Hi there,

I would like to get the values of one row when a button is being clicked but I am really new to node-red and js etc ...

 ![Sans%20titre](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/6ae7772c262ffe17f935a4e968c3e9a575c6760d.png)

I use this to get the values of my databases into a table :

```auto
<table id="table" border="1">
    <thead>
 <tr>
 <th>Date de retour</th>     
 <th>SerialNumber</th> 
 <th>Reference Numerique</th>
 <th>Stock</th>
 <th>Statut</th>
 <th>Emplacement</th>
 <th>Réserver</th>
 
 
 </tr>
 </thead>
 
 <tbody>
 <tr ng-repeat="row in msg.payload">
 <td ng-repeat="item in row" >{{item}}</td>
 <td><form><input type=submit value="réserver"></form></td>
 </tr>
 
 </tbody>
 
</table>

```

Any ideas ?  
Thanks
