Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<table>
  <tr class="task-name">
    <td >first column</td>
    <td>other</td>
    <td>other</td>
  </tr>
  <tr class="task-name">
    <td  >first column</td>
    <td>other</td>
    <td>other</td>
  </tr>
  <tr class="task-name">
    <td  >first column</td>
    <td>other</td>
    <td>other</td>
  </tr>
</table>
</body>
</html>
 
$(".task-name td:first-child").text(function (i,n){ return $(this).text().substring(4)})
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
RoyiNamirpro
0viewers