COMPARE VALUE TO ADD CLASS

Compare each row PO Quantity to its stocks , if stocks and PO quantity are equal then add class success.

HTML

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<table id="myTable" class="table table-bordered table-hover">
  <thead>
    <tr>
      <td>CUSTOMER</td>
      <td>PO QUANTITY</td>
      <td>DATE OF DELIVERY</td>
      <td>STOCKS</td>
    </tr>
  </thead>
  <tbody class="tb_jobsched">
    <tr>
      <td>CUSTOMER 1</td>
      <td>2000 PCS</td>
      <td>2017/06/15</td>
      <td>5000 PCS</td>
    </tr>
    <tr>
      <td>CUSTOMER 2</td>
      <td>500 PCS</td>
      <td>2017/06/15</td>
      <td>500 PCS</td>
    </tr>
  </tbody>
</table>

JavaScript

const rows = document.querySelectorAll('#myTable tbody tr');

rows.forEach((row) => {
	const cells = row.getElementsByTagName('td');
  const poQty = cells[1].innerText;
  const stocks = cells[3].innerText;
  
  if (poQty === stocks) {
  	row.classList.add('success');
  }
});