JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<thead>
<tr>
<th width="5%">No</th>
<th width="10%">Model No</th>
<th width="15%">Model/Make</th>
<th width="20%">Price</th>
<th width="20%">Available Quantity</th>
<th width="20%">Add to or Remove from Cart</th>
<th width="10%">No of Items</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>001</td>
<td>SONY</td>
<td>5000</td>
<td>10 Units</td>
<td align="center">
<input type="image" src="images/add.png" name="add" id="add"/>
</td>
<td id="The_Dynamic_Cell">0</td>
</tr>
</tbody>
</table>
JavaScript
var addButton = document.querySelector("#add");
var cell = document.querySelector("#The_Dynamic_Cell");
addButton.onclick = function add(e){
cell.innerText = parseInt(cell.innerText, 10) + 1;
}