Tried to access last column for each row in pure javascript not in jquery but not working.Anyone know please help to find the solution.
app.component.html:
<div id="contentId">
<table>
<thead>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</thead>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td><select><option>Select</option><option value="test1">Test 1</option><option value="test2">Test 2</option></select></td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td><select><option>Select</option><option value="test1">Test 1</option><option value="test2">Test 2</option></select></td>
</tr>
<tr>
<td>Ernst Handel</td>
<td>Roland Mendel</td>
<td><select><option>Select</option><option value="test1">Test 1</option><option value="test2">Test 2</option></select></td>
</tr>
</table>
</div>
Demo: https://stackblitz.com/edit/amexio-breadcrumb-demo-jyxytf?file=src/app/app.component.ts