JSFiddle - React, Tailwind, and code Playground

by dave r

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<body>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
  <table>
    <thead>
      <tr>
        <th>header 1</th>
        <th>header 2</th>
        <th>header 3</th>
        <th>total</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>celda 1</td>
        <td>celda 2</td>
        <td>celda 3</td>
        <td>3.000</td>
      </tr>
      <tr>
        <td>
          <div><input id="uno" class = "cualquierNombre"/>
          </div>
        </td>
        <td>celda 2</td>
        <td>celda 3</td>
        <td>2.000</td>
      </tr>
    </tbody>
  </table>  
  <div class="as-console-wrapper">
    <div class="as-console"></div>
  </div>
</body>

JavaScript

$(function(){
	$('.cualquierNombre').focusout(function(){
  	alert($(this).val());
  })
})